{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21742","id":"CVE-2024-21742","title":"Apache James Mime4J: Mime4J DOM header injection","description":"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.","descriptionLong":"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-27T16:21:16.432Z","updated":"2026-06-17T07:10:03.900Z","reserved":"2024-01-02T06:51:12.024Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Apache Software Foundation Apache James Mime4J"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache James Mime4J","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"0.8.9","status":"affected","version":"0","versionType":"maven"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.james:apache-mime4j-core","purl":"pkg:maven/org.apache.james/apache-mime4j-core","ranges":["<0.8.10"],"fixed":["0.8.10"],"advisory":"GHSA-jw7r-rxff-gv24"}],"cwes":["CWE-74","CWE-20"],"aliases":["GHSA-jw7r-rxff-gv24"],"references":[{"url":"https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy","tags":["vendor-advisory","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/27/5","tags":["x_transferred","Mailing List","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21742","tags":["advisory"]},{"url":"https://github.com/apache/james-mime4j/commit/9dec5df2a588fed8027839815daefa79ee66efd1","tags":["web"]},{"url":"https://github.com/apache/james-mime4j/commit/d25fb3fd35db42b060789a20634fbe3cb84aba17","tags":["web"]},{"url":"https://github.com/apache/james-mime4j","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01091,"epssPercentile":0.66136,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21742","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21742","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21742","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jw7r-rxff-gv24","ok":true,"note":"GHSA-jw7r-rxff-gv24"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21742","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}