{"id":"CVE-2024-21742","state":"PUBLISHED","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.","publishedAt":"2024-02-27T16:21:16.432Z","updatedAt":"2025-05-06T13:11:44.183Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache James Mime4J"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache James Mime4J","packageName":"org.apache.james:apache-mime4j-dom","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.8.9","versionType":"maven"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":["https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy","http://www.openwall.com/lists/oss-security/2024/02/27/5"],"weaknesses":["CWE-74"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/21xxx/CVE-2024-21742.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21742","state":"PUBLISHED","datePublished":"2024-02-27T16:21:16.432Z","dateUpdated":"2025-05-06T13:11:44.183Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2024-01-02T06:51:12.024Z"},"containers":{"cna":{"title":"Apache James Mime4J: Mime4J DOM header injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache James Mime4J","packageName":"org.apache.james:apache-mime4j-dom","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.8.9","versionType":"maven"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":[{"url":"https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","description":"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2025-05-06T13:11:44.183Z"},"credits":[{"lang":"en","type":"finder","value":"Benoit TELLIER"}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-03-05T20:19:13.590898Z","id":"CVE-2024-21742","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-25T15:56:06.975Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/27/5","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T22:27:36.169Z"}}]}}}