CVE-2024-21742
JSON

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 packageVersionsReported by
org.apache.james:apache-mime4j-domup to 0.8.9CVE List
org.apache.james:apache-mime4j-core (Maven)before 0.8.10GitHub Advisory Database
apache james_mime4jup to 0.8.9NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-20CWE-74

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2024-21742 changed 2025-05-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-jw7r-rxff-gv24 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-21742 changed 2026-06-17Public domain