WaratekVRT Sign in

CVE-2023-51518 Apache James

Affected softwareApache James
Severity9.8 Critical CVSS 3.1
Fixed in3.7.5, 3.8.1
WeaknessDeserialization of untrusted data (CWE-502)
Published27 Feb 2024
Updated17 Jun 2026

Description

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

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 1.2% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2023-51518: Preauthenticated Java Deserialization via JMX in Apache James 1 2024-06-03

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2023-51518

Upgrade Apache James to a release that fixes it: 3.7.5 or 3.8.1. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.james:james-server 0 3.7.5 unbounded
org.apache.james:james-server 3.8.0 3.8.1 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache james generic 3.7.5 · 3.8.0
osv org.apache.james james-server generic < 3.7.5 · ≥ 3.8.0 and < 3.8.1

References

URLTags
https://lists.apache.org/thread/wbdm61ch6l0kzjn6nnfmyqlng82qz0or WEB

Timeline

Published2024-02-27By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.