Vulnerability · Published Feb 27, 2024 · Assigned by apache
CVE-2024-21742Apache James Mime4J: Mime4J DOM header injection
Medium 5.3
In plain English
A medium-severity injection in Apache James Mime4J from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.1%top 34.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing message. This can be exploited by an attacker to add unintended headers to MIME messages.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | apache-mime4j | no fix listed | DEBIAN-CVE-2024-21742 |
| Debian:13 | apache-mime4j | 0.8.10-1 | DEBIAN-CVE-2024-21742 |
| Debian:14 | apache-mime4j | 0.8.10-1 | DEBIAN-CVE-2024-21742 |
| Maven | org.apache.james:apache-mime4j-core | 0.8.10 | GHSA-jw7r-rxff-gv24 |
| Ubuntu:22.04:LTS | apache-mime4j | no fix listed | UBUNTU-CVE-2024-21742 |
| Ubuntu:24.04:LTS | apache-mime4j | no fix listed | UBUNTU-CVE-2024-21742 |
| Ubuntu:25.10 | apache-mime4j | no fix listed | UBUNTU-CVE-2024-21742 |
| Ubuntu:26.04:LTS | apache-mime4j | no fix listed | UBUNTU-CVE-2024-21742 |
| Ubuntu:26.10 | apache-mime4j | no fix listed | UBUNTU-CVE-2024-21742 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache James Mime4J | 0 – through 0.8.9 |
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy vendor-advisory
- http://www.openwall.com/lists/oss-security/2024/02/27/5 x_transferred