Apache James vulnerable to STARTTLS command injection (IMAP and POP3)

Check todaySensitive data exposure over the network, no login needed.
5.9MEDIUM

Key Information:

Vendor

Apache

CVE ID
CVE ID:
CVE-2021-38542
Vendor
CVE Published:
4 January 2022
Fixed in
Fixed in:
3.6.1

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
Apache James Apache James to below 3.6.1 is vulnerable
Install Apache James 3.6.1 or later
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Apache James. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is medium (5.9).

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Credit

We thanks Benoit Tellier, Raphael Ouazana for reporting this vulnerability as well as Damian Poddebniak, Fabian Ising, Hanno Bรถck, and Sebastian Schinzel Mรผnster University of Applied Science for their research and tools regarding STARTTLS security.
.