{"id":"CVE-2024-21742","published":"2024-02-27T16:21:16Z","modified":"2025-05-06T13:11:44Z","title":"Apache James Mime4J: Mime4J DOM header injection","vendor":"Apache","product":"Apache James Mime4J","tier":"tail","description":{"text":"Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing message.\nThis can be exploited by an attacker to add unintended headers to MIME messages.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01453,"percentile":0.73677,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/27/5","tags":["x_transferred"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":14.74},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache James Mime4J","versions":["<= 0.8.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-05T20:19:13.590898Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.james:apache-mime4j-core","vulnerableRanges":["<0.8.10"],"patched":["0.8.10"],"from":["GHSA-jw7r-rxff-gv24"],"provenance":"source"}],"summary":{"text":"Apache James Mime4J contains an improper input validation flaw in its DOM component, which is used to compose messages. It allows header injection, so an attacker can add unintended headers to MIME messages built with Mime4J DOM. Exploitation requires no privileges or user interaction and can be carried out remotely over the network, with low complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:48Z"},"euvd":{"id":"EUVD-2024-0666","exploited":false,"provenance":"source"}}