CVE-2024-21742
5.3medium
Apache James Mime4J: Mime4J DOM header injection
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.09% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-jw7r-rxff-gv24
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.james:apache-mime4j-dom | up to 0.8.9 | CVE List |
| org.apache.james:apache-mime4j-core (Maven) | before 0.8.10 | GitHub Advisory Database |
| apache james_mime4j | up to 0.8.9 | NVD |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
La validación de entrada incorrecta permite la inyección de encabezado en la librería MIME4J cuando se usa MIME4J DOM para redactar mensajes. Un atacante puede aprovechar esto para agregar encabezados no deseados a los mensajes MIME.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21742 changed 2025-05-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jw7r-rxff-gv24 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-21742 changed 2026-06-17 | Public domain |