Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-21742 EUVD-2024-0666GHSA-jw7r-rxff-gv24

Apache James Mime4J: Mime4J DOM header injection

Published Feb 27, 2024 · Updated May 6, 2025 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache James Mime4J ≤ 0.8.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache-mime4j 0.8.10-1 —
Debian 13 apache-mime4j 0.8.10-1 —
Debian 12 apache-mime4j No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 apache-mime4j No fix yet —
Ubuntu 26.04 LTS apache-mime4j No fix yet —
Ubuntu 25.10 apache-mime4j No fix yet —
Ubuntu 24.04 LTS apache-mime4j No fix yet —
Ubuntu 22.04 LTS apache-mime4j No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS apache-mime4j No fix yet —
Ubuntu 18.04 LTS apache-mime4j No fix yet —
Ubuntu 16.04 LTS apache-mime4j No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opensearch-2 2.14.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.james:apache-mime4j-core < 0.8.10 0.8.10 GHSA-jw7r-rxff-gv24

Advisories 1

References