high7.1
CVE-2023-51747
SMTP smuggling in Apache James
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.james:james-server | < 3.7.5 | 3.7.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | James | Versions 3.7.5, 3.8.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2024/02/27/4
- https://lists.apache.org/thread/rxkwbkh9vgbl9rzx1fkllyk3krhgydko
- https://postfix.org/smtp-smuggling.html
- https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/
- https://github.com/advisories/GHSA-p5q9-86w4-2xr5
- https://nvd.nist.gov/vuln/detail/CVE-2023-51747
- https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide
- https://github.com/apache/james-project/commit/d1ef102540e504c067b6c1721a6f1e7eee9c6fc6
- https://github.com/apache/james-project/commit/d5cd8bb098aa78d8d62c9645f3c532689ef1cb03