Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.james/james-project
  4. ›
  5. CVE-2023-51747

CVE-2023-51747: Apache James vulnerable to SMTP smuggling

February 27, 2024

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.

References

  • github.com/advisories/GHSA-p5q9-86w4-2xr5
  • github.com/apache/james-project
  • github.com/apache/james-project/commit/d1ef102540e504c067b6c1721a6f1e7eee9c6fc6
  • github.com/apache/james-project/commit/d5cd8bb098aa78d8d62c9645f3c532689ef1cb03
  • lists.apache.org/thread/rxkwbkh9vgbl9rzx1fkllyk3krhgydko
  • nvd.nist.gov/vuln/detail/CVE-2023-51747
  • postfix.org/smtp-smuggling.html
  • sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide

Code Behaviors & Features

Detect and mitigate CVE-2023-51747 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.7.5, all versions starting from 3.8.0 before 3.8.1, version 3.8.0

Fixed versions

  • 3.7.5
  • 3.8.1

Solution

Upgrade to versions 3.7.5, 3.7.5, 3.8.1, 3.8.1 or above.

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.apache.james/james-project/CVE-2023-51747.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:48 +0000.