MODERATE 5.3

CVE-2024-21742

Apache James MIME4J improper input validation vulnerability

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.james » apache-mime4j-core
< 0.8.10
0.8.10

Blast radius

1affected artifacts
19affected versions
5,246dependent artifacts (est.)
232,819dependent versions

66% of the dependent artifacts (3,512) still pull an affected version in their latest release.

DepthDependent versions
Direct
3,721
2 hops
24,008
3 hops
47,558
4 hops
58,547
5 hops
51,711
6 hops
47,274

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.