CVE-2023-37895
Apache Jackrabbit RMI access can lead to RCE
Also known as GHSA-q8cm-3v62-jj79
Mitigation
- Upgrade org.apache.jackrabbit:jackrabbit-webapp to one of 2.21.18, 2.20.11 (or later in the same release line).
- Upgrade org.apache.jackrabbit:jackrabbit-standalone to one of 2.21.18, 2.20.11 (or later in the same release line).
- Upgrade org.apache.jackrabbit:jackrabbit-standalone-components to one of 2.21.18, 2.20.11 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.jackrabbit:jackrabbit-webapp (>= 2.21.0, < 2.21.18)
- Projects that depend on Maven package org.apache.jackrabbit:jackrabbit-standalone (>= 2.21.0, < 2.21.18)
- Projects that depend on Maven package org.apache.jackrabbit:jackrabbit-standalone-components (>= 2.21.0, < 2.21.18)
- Anyone running Apache Software Foundation Apache Jackrabbit Webapp (jackrabbit-webapp) >= 2.21.0, < 2.21.18; >= 1.0.0, < 2.20.11
- Anyone running Apache Software Foundation Apache Jackrabbit Standalone (jackrabbit-standalone and jackrabbit-standalone-components) >= 2.21.0, < 2.21.18; >= 1.0.0, < 2.20.11
Vulnerability facts
- Affected
- org.apache.jackrabbit:jackrabbit-webapp >= 2.21.0, < 2.21.18; org.apache.jackrabbit:jackrabbit-standalone >= 2.21.0, < 2.21.18; org.apache.jackrabbit:jackrabbit-standalone-components >= 2.21.0, < 2.21.18
- Fixed in
- 2.21.18, 2.20.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 3.60% chance of exploitation in 30 days (percentile 90, 2026-11-26)
- CWE
- CWE-502
- Modified
Description
Java object deserialization issue in Jackrabbit webapp/standalone on all platforms allows attacker to remotely execute code via RMIVersions up to (including) 2.20.10 (stable branch) and 2.21.17 (unstable branch) use the component "commons-beanutils", which contains a class that can be used for remote code execution over RMI. Users are advised to immediately update to versions 2.20.11 or 2.21.18. Note that earlier stable branches (1.0.x .. 2.18.x) have been EOLd already and do not receive updates anymore. In general, RMI support can expose vulnerabilities by the mere presence of an exploitable class on the classpath. Even if Jackrabbit itself does not contain any code known to be exploitable anymore, adding other components to your server can expose the same type of problem. We therefore recommend to disable RMI access altogether (see further below), and will discuss deprecating RMI support in future Jackrabbit releases. How to check whether RMI support is enabledRMI support can be over an RMI-specific TCP port, and over an HTTP binding. Both are by default enabled in Jackrabbit webapp/standalone. The native RMI protocol by default uses port 1099. To check whether it is enabled, tools like "netstat" can be used to check. RMI-over-HTTP in Jackrabbit by default uses the path "/rmi". So when running standalone on port 8080, check whether an HTTP GET request on localhost:8080/rmi returns 404 (not enabled) or 200 (enabled). Note that the HTTP path may be different when the webapp is deployed in a container as non-root context, in which case the prefix is under the user's control. Turning off RMIFind web.xml (either in JAR/WAR file or in unpacked web application folder), and remove the declaration and the mapping definition for the RemoteBindingServlet: <servlet> <servlet-name>RMI</servlet-name> <servlet-class>org.apache.jackrabbit.servlet.remote.RemoteBindingServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>RMI</servlet-name> <url-pattern>/rmi</url-pattern> </servlet-mapping> Find the bootstrap.properties file (in $REPOSITORY_HOME), and set rmi.enabled=false and also remove rmi.host rmi.port rmi.url-pattern If there is no file named bootstrap.properties in $REPOSITORY_HOME, it is located somewhere in the classpath. In this case, place a copy in $REPOSITORY_HOME and modify it as explained.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.jackrabbit:jackrabbit-webapp | >= 2.21.0, < 2.21.18 | 2.21.18, 2.20.11 | osv |
| Maven org.apache.jackrabbit:jackrabbit-standalone | >= 2.21.0, < 2.21.18 | 2.21.18, 2.20.11 | osv |
| Maven org.apache.jackrabbit:jackrabbit-standalone-components | >= 2.21.0, < 2.21.18 | 2.21.18, 2.20.11 | osv |
| Apache Software Foundation Apache Jackrabbit Webapp (jackrabbit-webapp) | >= 2.21.0, < 2.21.18; >= 1.0.0, < 2.20.11 | — | cvelist |
| Apache Software Foundation Apache Jackrabbit Standalone (jackrabbit-standalone and jackrabbit-standalone-components) | >= 2.21.0, < 2.21.18; >= 1.0.0, < 2.20.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-37895. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-37895.md Affected: org.apache.jackrabbit:jackrabbit-webapp >= 2.21.0, < 2.21.18; org.apache.jackrabbit:jackrabbit-standalone >= 2.21.0, < 2.21.18; org.apache.jackrabbit:jackrabbit-standalone-components >= 2.21.0, < 2.21.18 Fixed in: 2.21.18, 2.20.11 Steps: 1. Search this machine and project for org.apache.jackrabbit:jackrabbit-webapp (Maven), org.apache.jackrabbit:jackrabbit-standalone (Maven), org.apache.jackrabbit:jackrabbit-standalone-components (Maven), Apache Software Foundation Apache Jackrabbit Webapp (jackrabbit-webapp), Apache Software Foundation Apache Jackrabbit Standalone (jac…: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-37895 being exploited?
There is no confirmed exploitation: CVE-2023-37895 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.60% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-37895?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-37895?
org.apache.jackrabbit:jackrabbit-webapp >= 2.21.0, < 2.21.18; org.apache.jackrabbit:jackrabbit-standalone >= 2.21.0, < 2.21.18; org.apache.jackrabbit:jackrabbit-standalone-components >= 2.21.0, < 2.21.18.
Is there a fix for CVE-2023-37895?
Yes. Fixed in 2.21.18, 2.20.11. Upgrade org.apache.jackrabbit:jackrabbit-webapp to one of 2.21.18, 2.20.11 (or later in the same release line). Upgrade org.apache.jackrabbit:jackrabbit-standalone to one of 2.21.18, 2.20.11 (or later in the same release line). Upgrade org.apache.jackrabbit:jackrabbit-standalone-components to one of 2.21.18, 2.20.11 (or later in the same release line).
How do I check if I'm affected by CVE-2023-37895?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.