Live threats

All CVEs / Apache

CVE-2024-21742Apache James Mime4j

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Feb 27, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for James Mime4j.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.james:apache-mime4j-core < 0.8.10 0.8.10 —

Per OSV / GitHub Advisories (GHSA-jw7r-rxff-gv24). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachejames_mime4j≤ 0.8.9

Official sources

References

Links published by the sources. Open them with care.