CVE-2024-21742 json
Apache James Mime4J: Mime4J DOM header injection
published 2024-02-27 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0666 , GHSA-jw7r-rxff-gv24
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.james:apache-mime4j-core 0.8.10
- org.apache.james apache-mime4j-dom 0.8.10
- apache-mime4j Debian 14, Debian 13 0.8.10-1
debian advisories DEBIAN-CVE-2024-21742
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-21742 updated cvss 5.6
Mime4J: Mime4J DOM header injection
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.james:apache-mime4j-core | <0.8.10 |
0.8.10 |
Affected products
- Apache Software Foundation Apache James Mime4J
Classification
References
-
github.com
/apache/james-mime4j/commit/9dec5df2a588fed8027839815daefa79ee66efd1
web
-
github.com
/apache/james-mime4j/commit/d25fb3fd35db42b060789a20634fbe3cb84aba17
web
-
lists.apache.org
/thread/nrqzg93219wdj056pqfszsd33dc54kfy
vendor-advisory, web, mailing-list
-
openwall.com
/lists/oss-security/2024/02/27/5
web, mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2024-21742
advisory
-
github.com
/apache/james-mime4j
package
Sources
- CVE List CVE-2024-21742
- GitHub Advisory GHSA-jw7r-rxff-gv24
- NVD CVE-2024-21742
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.