CVE-2021-38542: Apache James - Buffer Overflow
- Cve: CVE-2021-38542
- Name: Apache James - Buffer Overflow
- 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.
- Impact: Attackers can perform man-in-the-middle and command injection attacks, potentially leading to sensitive information leakage.
- Remediation: Update to version 3.6.1 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: man_in_the_middle, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.02336
- Epss percentile: 0.83902
- Assignee: [email protected]
- Published at: 2022-01-04T09:15:07Z
- Age in days: 1785
- Modified at: 2026-06-17T04:02:19Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-38542
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
| CWE-327 | Use of a Broken or Risky Cryptographic Algorithm |
References
Same in every row:
- Source: nvd
- Tags: Mailing List, Third Party Advisory
| Url |
|---|
| http://www.openwall.com/lists/oss-security/2022/01/04/1 |
| http://www.openwall.com/lists/oss-security/2022/09/20/1 |
| https://www.openwall.com/lists/oss-security/2022/01/04/1 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:james | < 3.6.1 | no | nvd | /v1/products/apache/james |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts