{"id":"GHSA-jw7r-rxff-gv24","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.","aliases":["CVE-2024-21742"],"modified":"2026-07-17T21:08:07.163642862Z","published":"2024-02-27T18:31:02Z","database_specific":{"nvd_published_at":"2024-02-27T17:15:12Z","cwe_ids":["CWE-20","CWE-74"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-02-27T21:54:39Z"},"references":[{"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"},{"type":"WEB","url":"https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/02/27/5"}],"affected":[{"package":{"name":"org.apache.james:apache-mime4j-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.james/apache-mime4j-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.10"}]}],"versions":["0.7","0.7.1","0.7.2","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.8.7","0.8.8","0.8.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-jw7r-rxff-gv24/GHSA-jw7r-rxff-gv24.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}