{"id":"CVE-2024-21742","aliases":["CVE-2024-21742","GHSA-jw7r-rxff-gv24"],"related":[],"kind":"vulnerability","state":"published","title":"Apache James Mime4J: Mime4J DOM header injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"La validación de entrada incorrecta permite la inyección de encabezado en la librería MIME4J cuando se usa MIME4J DOM para redactar mensajes. Un atacante puede aprovechar esto para agregar encabezados no deseados a los mensajes MIME.","source":"nvd"}],"published":"2024-02-27T16:21:16.432Z","modified":"2026-09-10T03:50:06.254Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-74"],"affected":[{"ranges":[{"type":"maven","introduced":"0","lastAffected":"0.8.9","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache James Mime4J","package":"org.apache.james:apache-mime4j-dom","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.8.10"}],"ecosystem":"Maven","package":"org.apache.james:apache-mime4j-core","purl":"pkg:maven/org.apache.james/apache-mime4j-core","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.8.9"}],"vendor":"apache","product":"james_mime4j","cpe":"cpe:2.3:a:apache:james_mime4j:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/27/5","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21742","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/james-mime4j/commit/9dec5df2a588fed8027839815daefa79ee66efd1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/james-mime4j/commit/d25fb3fd35db42b060789a20634fbe3cb84aba17","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/james-mime4j","tags":["package"],"sources":["ghsa"]}],"credits":["Benoit TELLIER"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-05T20:19:13.590Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21742","url":"https://www.cve.org/CVERecord?id=CVE-2024-21742","licence":"CVE Terms of Use","modified":"2025-05-06T13:11:44.183Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jw7r-rxff-gv24","url":"https://github.com/advisories/GHSA-jw7r-rxff-gv24","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:06.254Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21742","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21742","licence":"Public domain","modified":"2026-06-17T07:10:03.900Z"}],"updatedAt":"2026-11-25T22:58:37.087Z","epss":{"score":0.01091,"percentile":0.66364,"date":"2026-12-01T12:00:22.000Z"}}