CVE-2021-38542
MEDIUM 5.9CVSS 3.1Command Injection in Apache James
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.
- Published
- 4 Jan 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-327CWE-77
- Also known as
- GHSA-84wg-rgp8-2hg4
- Sources
- NVDJSONOSV GHSA-84wg-rgp8-2hg4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | jamescpe:2.3:a:apache:james:*:*:*:*:*:*:*:* |
< 3.6.1 | 3.6.1 |
| OSV | Maven | org.apache.james:james-server | < 3.6.1 | 3.6.1 |
References
- http://www.openwall.com/lists/oss-security/2022/01/04/1 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2022/09/20/1 · Mailing List, Third Party Advisory, WEB
- https://www.openwall.com/lists/oss-security/2022/01/04/1 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-38542 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 4 Jan 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jan 2022)