CVE-2023-51518

Apache James server: Privilege escalation via JMX pre-authentication deserialisation

Published Feb 27, 2024 CVSS 3.1 · 9.8 Critical EPSS 1.2% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-px7w-c9gw-7gj3 Apache James server: Privilege escalation via JMX pre-authentication deserialization
History
Type Values Removed Values Added
First Time appeared Apache
Apache james
CPEs cpe:2.3:a:apache:james:3.7.5:*:*:*:*:*:*:*
cpe:2.3:a:apache:james:3.8.0:*:*:*:*:*:*:*
Vendors & Products Apache
Apache james
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 22, 2024, 8:42 PM
Reserved
Dec 20, 2023, 4:14 PM
Status
Analyzed
Published
Feb 27, 2024, 9:15 AM
Modified
Jun 17, 2026, 6:41 AM