CVE-2021-38542
publishedApache James vulnerable to STARTTLS command injection (IMAP and POP3)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache JamesApache James to < 3.6.1 | Affected | Not stated | apache |
Description
Apache James prior to release 3.6.1 is vulnerable to a buffering attack relying on the use of the STARTTLS command. This can result in Man-in -the-middle command injection attacks, leading potentially to leakage of sensible information.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache James | Apache James to < 3.6.1 (affected · custom) | apache · cna |
Weaknesses
1- CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
3- [oss-security] 20220104 CVE-2021-38542: Apache James vulnerable to STARTTLS command injection (IMAP and POP3) http://www.openwall.com/lists/oss-security/2022/01/04/1
- [oss-security] 20220919 CVE-2022-28220: STARTTLS command injection in Apache JAMES http://www.openwall.com/lists/oss-security/2022/09/20/1
- https://www.openwall.com/lists/oss-security/2022/01/04/1
Provider assertions
2apache · cna
Apache James vulnerable to STARTTLS command injection (IMAP and POP3)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d0a691b3855035e9ed14cacb0327fc7bc2232d8d310e3a2592edaf44fda38a87
- Ingested
- 23 Sep 2026, 07:55:29 UTC
- Source record
- Official CVE record