CVE-2023-51518
Apache James server: Privilege escalation via JMX pre-authentication deserialization
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
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.james » james-server | < 3.7.5>= 3.8.0, < 3.8.1 | 3.7.5, 3.8.1 |
Blast radius
100% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 26 |
| 2 hops | 15 |
Most used dependents
- org.sakaiproject.mailarchive » sakai-mailarchive-james1 usages
- org.sakaiproject.mailarchive » sakai-mailarchive-assembly0 usages
- org.sakaiproject » sakai-mailarchive-james0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
