CVE-2024-21742

CVE-2024-21742 is a medium-severity vulnerability in Apache James Mime4j with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-74.

Key facts

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.

Frequently asked questions

What is CVE-2024-21742?
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.
How severe is CVE-2024-21742?
CVE-2024-21742 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability none.
Is CVE-2024-21742 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (61st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-21742?
CVE-2024-21742 affects Apache James Mime4j. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-21742?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-21742 have an EU (EUVD) identifier?
Yes. CVE-2024-21742 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0666.
When was CVE-2024-21742 published?
CVE-2024-21742 was published on 2024-02-27 and last updated on 2026-06-17.

References

Affected products (1)

Other CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities

Browse all CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities →