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

CVE-2023-51518: Apache James server: Privilege escalation via JMX pre-authentication deserialization

February 27, 2024

Apache James prior to version 3.7.5 and 3.8.0 exposes a JMX endpoint on localhost subject to pre-authentication deserialisation of untrusted data. Given a deserialisation gadjet, this could be leveraged as part of an exploit chain that could result in privilege escalation. Note that by default JMX endpoint is only bound locally.

We recommend users to:  - Upgrade to a non-vulnerable Apache James version

 - Run Apache James isolated from other processes (docker - dedicated virtual machine)  - If possible turn off JMX

References

  • github.com/advisories/GHSA-px7w-c9gw-7gj3
  • lists.apache.org/thread/wbdm61ch6l0kzjn6nnfmyqlng82qz0or
  • nvd.nist.gov/vuln/detail/CVE-2023-51518

Code Behaviors & Features

Detect and mitigate CVE-2023-51518 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

Fixed versions

  • 3.7.5
  • 3.8.1

Solution

Upgrade to versions 3.7.5, 3.8.1 or above.

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

maven/org.apache.james/james-server/CVE-2023-51518.yml

Spotted a mistake? Edit the file on GitLab.

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

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