Ubuntu CVE Tracker
UBUNTU-CVE-2024-21742
Details
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 versions |
|---|---|---|
| Ubuntu:16.04:LTS | apache-mime4j | All versions, no fix listed |
| Ubuntu:18.04:LTS | apache-mime4j | All versions, no fix listed |
| Ubuntu:20.04:LTS | apache-mime4j | All versions, no fix listed |
| Ubuntu:22.04:LTS | apache-mime4j | All versions, no fix listed |
| Ubuntu:24.04:LTS | apache-mime4j | All versions, no fix listed |
| Ubuntu:25.10 | apache-mime4j | All versions, no fix listed |
| Ubuntu:26.10 | apache-mime4j | All versions, no fix listed |
| Ubuntu:26.04:LTS | apache-mime4j | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2024-21742
- https://www.openwall.com/lists/oss-security/2024/02/27/5
- https://github.com/apache/james-mime4j/commit/9dec5df2a588fed8027839815daefa79ee66efd1
- https://github.com/apache/james-mime4j/pull/91
- https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy
- https://www.cve.org/CVERecord?id=CVE-2024-21742