medium5.3
CVE-2024-21742
Apache James MIME4J improper input validation vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.james:apache-mime4j-core | < 0.8.10 | 0.8.10 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | James Mime4j | through 0.8.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy
- http://www.openwall.com/lists/oss-security/2024/02/27/5
- https://github.com/advisories/GHSA-jw7r-rxff-gv24
- https://nvd.nist.gov/vuln/detail/CVE-2024-21742
- https://github.com/apache/james-mime4j/commit/9dec5df2a588fed8027839815daefa79ee66efd1
- https://github.com/apache/james-mime4j/commit/d25fb3fd35db42b060789a20634fbe3cb84aba17