CVE-2024-21742: Apache James Mime4J: Mime4J DOM header injection
Vulnerability summary
CVE-2024-21742 is a medium (CVSS 5.3) vulnerability in apache software foundation apache james mime4j. EPSS estimates a 1.09% chance of exploitation in the next 30 days, higher than 65.4% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 6Timeline
- 27-02-2024PublishedVulnerability first disclosed.
- 06-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · MavenEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.09%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.09% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard43 products
- keycloak< 24.0.0-r0
- opensearch-2< 2.14.0-r0
- opensearch-2-alerting< 2.14.0-r0
- opensearch-2-analysis-icu< 2.14.0-r0
- opensearch-2-analysis-kuromoji< 2.14.0-r0
Wolfi2 products
- keycloak< 24.0.0-r0
- opensearch-2< 2.14.0-r0
Apache1 product
- james_mime4j≤ 0.8.9
Apache software foundation1 product
- apache james mime4j≤ 0.8.9
Debian1 product
- apache-mime4jAll versions (No fix recorded) | < 0.8.10-1
Org.apache.james1 product
- apache-mime4j-core< 0.8.10
Ubuntu1 product
- apache-mime4jAll versions (No fix recorded)
7 vendors · 50 products
References
11 links- lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfyVendor AdvisoryREPORTAdvisoryWEBMailing List