{"id":"CVE-2024-21742","aliases":["GHSA-jw7r-rxff-gv24"],"url":"https://o3.security/vulnerability/CVE-2024-21742","summary":"Apache James MIME4J improper input validation vulnerability","details":"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.","published":"2024-02-27T17:15:12.030Z","modified":"2026-03-14T12:30:54.788522Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.james:apache-mime4j-core","fixedVersion":"0.8.10"}],"fix":{"url":"https://github.com/apache/james-mime4j/commit/9dec5df2a588fed8027839815daefa79ee66efd1","label":"apache/james-mime4j@9dec5df"},"references":[{"type":"ADVISORY","url":"https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2024/02/27/5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21742"},{"type":"WEB","url":"https://github.com/apache/james-mime4j/commit/9dec5df2a588fed8027839815daefa79ee66efd1"},{"type":"WEB","url":"https://github.com/apache/james-mime4j/commit/d25fb3fd35db42b060789a20634fbe3cb84aba17"},{"type":"PACKAGE","url":"https://github.com/apache/james-mime4j"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-03-14T12:30:54.788522Z"}}