CVE-2024-21742Published Feb 27, 2024 · Feb 27Updated Jun 17
Apache James Mime4J: Mime4J DOM header injection
Apache Software Foundation Apache James Mime4J
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.james:apache-mime4j-core Maven |
|
|
Original description
Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing message. This can be exploited by an attacker to add unintended headers to MIME messages.
From the CVE record · apache
References
- lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfyVendor advisory
- openwall.com/lists/oss-security/2024/02/27/5
- nvd.nist.gov/vuln/detail/CVE-2024-21742
- github.com/apache/james-mime4j/commit/9dec5df2a588fed8027839815daefa79ee66efd1
- github.com/apache/james-mime4j/commit/d25fb3fd35db42b060789a20634fbe3cb84aba17
- github.com/apache/james-mime4j