CVE-2024-21742: MIME4J - Header Injection
- Cve: CVE-2024-21742
- Name: MIME4J - Header Injection
- 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.
- Impact: Attackers can inject malicious headers, potentially leading to message manipulation or security bypass.
- Remediation: Update to the latest version of MIME4J that addresses input validation issues.
- Vulnerability type: header_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to control message input
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.01091
- Epss percentile: 0.66113
- Assignee: [email protected]
- Published at: 2024-02-27T17:15:12Z
- Age in days: 1001
- Modified at: 2026-06-17T07:10:03Z
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-21742
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
References
| Url | Source | Tags |
|---|---|---|
| https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy | nvd | Mailing List, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2024/02/27/5 | nvd | Mailing List |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:james_mime4j | <= 0.8.9 | no | nvd | /v1/products/apache/james_mime4j |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/james-mime4j | commit, package | yes | /v1/repositories/apache/james-mime4j |
Index
- Repositories: 7
- Repositories high signal: 5
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts