CVE Vulnerabilities

CVE-2024-21742

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Feb 27, 2024 | Modified: May 06, 2025
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
5.6 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM

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.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

Name Vendor Start Version End Version
James_mime4j Apache * 0.8.9 (including)
Apache-mime4j Ubuntu bionic *
Apache-mime4j Ubuntu mantic *
Apache-mime4j Ubuntu trusty *
Apache-mime4j Ubuntu xenial *

Potential Mitigations

References