{"id":"CVE-2023-51518","summary":"Apache James server: Privilege escalation via JMX pre-authentication deserialisation","details":"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.\nGiven a deserialisation gadjet, this could be leveraged as part of an exploit chain that could result in privilege escalation.\nNote that by default JMX endpoint is only bound locally.\n\nWe recommend users to:\n - Upgrade to a non-vulnerable Apache James version\n\n - Run Apache James isolated from other processes (docker - dedicated virtual machine)\n - If possible turn off JMX\n\n","aliases":["GHSA-px7w-c9gw-7gj3"],"modified":"2026-08-12T03:51:26.903546995Z","published":"2024-02-27T09:09:31.579Z","database_specific":{"cna_assigner":"apache","cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/51xxx/CVE-2023-51518.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"3.7.4"},{"introduced":"3.8"},{"last_affected":"3.8.0"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/51xxx/CVE-2023-51518.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/wbdm61ch6l0kzjn6nnfmyqlng82qz0or"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51518"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/james-project","events":[{"introduced":"795028ac33df5ca103cf7d34fbead907a62ce197"},{"last_affected":"b967e3640f35822fd56c794b874f795442778be5"}],"database_specific":{"cpe":["cpe:2.3:a:apache:james:3.7.5:*:*:*:*:*:*:*","cpe:2.3:a:apache:james:3.8.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"3.7.5"},{"last_affected":"3.7.5"},{"introduced":"3.8.0"},{"last_affected":"3.8.0"}],"source":"CPE_STRING"}}],"versions":["3.7.5","3.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-51518.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}