HIGH 7.1

CVE-2023-51747

SMTP smuggling in Apache James

Description

Apache James prior to versions 3.8.1 and 3.7.5 is vulnerable to SMTP smuggling.

A lenient behaviour in line delimiter handling might create a difference of interpretation between the sender and the receiver which can be exploited by an attacker to forge an SMTP envelop, allowing for instance to bypass SPF checks.

The patch implies enforcement of CRLF as a line delimiter as part of the DATA transaction.

We recommend James users to upgrade to non vulnerable versions.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.james » james-server
< 3.7.5>= 3.8.0, < 3.8.1
3.7.5, 3.8.1

Blast radius

1affected artifacts
24affected versions
3dependent artifacts (est.)
41dependent versions

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

DepthDependent versions
Direct
26
2 hops
15

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.