cve.bz

CVE-2023-37895 apache jackrabbit: Deserialization of Untrusted Data

9.8 criticalEPSS 3.2%Fix available

Critical (9.8) in apache jackrabbit. EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.jackrabbit:jackrabbit-webapp 2.20.11, 2.21.18.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-10-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-37895 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-37895?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-37895?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-37895 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Jackrabbit Webapp (jackrabbit-webapp)from 2.21.0 before 2.21.18
Apache Software Foundation Apache Jackrabbit Webapp (jackrabbit-webapp)from 1.0.0 before 2.20.11
Apache Software Foundation Apache Jackrabbit Standalone (jackrabbit-standalone and jackrabbit-standalone-components)from 2.21.0 before 2.21.18
Apache Software Foundation Apache Jackrabbit Standalone (jackrabbit-standalone and jackrabbit-standalone-components)from 1.0.0 before 2.20.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q8cm-3v62-jj79Mavenorg.apache.jackrabbit:jackrabbit-webapp>=2.21.0 <2.21.182.21.18
GHSA-q8cm-3v62-jj79Mavenorg.apache.jackrabbit:jackrabbit-webapp>=1.0.0 <2.20.112.20.11
GHSA-q8cm-3v62-jj79Mavenorg.apache.jackrabbit:jackrabbit-standalone>=2.21.0 <2.21.182.21.18
GHSA-q8cm-3v62-jj79Mavenorg.apache.jackrabbit:jackrabbit-standalone>=1.0.0 <2.20.112.20.11
GHSA-q8cm-3v62-jj79Mavenorg.apache.jackrabbit:jackrabbit-standalone-components>=2.21.0 <2.21.182.21.18
GHSA-q8cm-3v62-jj79Mavenorg.apache.jackrabbit:jackrabbit-standalone-components>=1.0.0 <2.20.112.20.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12jackrabbitno fix listedDEBIAN-CVE-2023-37895
Debian13, 14jackrabbit2.20.11-1DEBIAN-CVE-2023-37895
Ubuntu14.04:LTS, 18.04:LTS, 20.04:LTS and 3 morejackrabbitno fix listedUBUNTU-CVE-2023-37895

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON