CVE-2024-21742

Apache James Mime4J: Mime4J DOM header injection

Published Feb 27, 2024 CVSS 3.1 · 5.3 Medium EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jw7r-rxff-gv24 Apache James MIME4J improper input validation vulnerability
History
Type Values Removed Values Added
First Time appeared Apache
Apache james Mime4j
Weaknesses CWE-74
CPEs cpe:2.3:a:apache:james_mime4j:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache james Mime4j
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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. 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 6, 2025, 1:11 PM
Reserved
Jan 2, 2024, 6:51 AM
Status
Modified
Published
Feb 27, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:10 AM
Severity
Moderate
Public date
Feb 27, 2024, 12:00 AM