Apache Jackrabbit: Core and JCR Commons are vulnerable to Deserialization of Untrusted DataGHSA-cxvc-g8f2-4gmm
MEDIUMFix: apache/jackrabbit#229GHSA-cxvc-g8f2-4gmm is a medium-severity (CVSS 6.5) Deserialization of Untrusted Data vulnerability in org.apache.jackrabbit:jackrabbit-core. A fix is available for org.apache.jackrabbit:jackrabbit-core — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-cxvc-g8f2-4gmm.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.jackrabbit:jackrabbit-core☕org.apache.jackrabbit:jackrabbit-jcr-commonsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
There is a serialization of Untrusted Data vulnerability in Apache Jackrabbit Core and Apache Jackrabbit JCR Commons.
This issue affects Apache Jackrabbit Core: from 1.0.0 through 2.22.1; Apache Jackrabbit JCR Commons: from 1.0.0 through 2.22.1.
Deployments that accept JNDI URIs for JCR lookup from untrusted users allows them to inject malicious JNDI references, potentially leading to arbitrary code execution through deserialization of untrusted data. Users are recommended to upgrade to version 2.22.2. JCR lookup through JNDI has been disabled by default in 2.22.2. Users of this feature need to enable it explicitly and are adviced to review their use of JNDI URI for JCR lookup.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.jackrabbit:jackrabbit-core | ≥ 1.0.0&&< 2.22.2 | 2.22.2org.apache.jackrabbit:jackrabbit-core:2.22.2 |
| ☕Maven | org.apache.jackrabbit:jackrabbit-jcr-commons | ≥ 1.0.0&&< 2.22.2 | 2.22.2org.apache.jackrabbit:jackrabbit-jcr-commons:2.22.2 |
Affected Products
jackrabbitapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.jackrabbit:jackrabbit-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.jackrabbit:jackrabbit-core to 2.22.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cxvc-g8f2-4gmm is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.Source: Red Hat security advisory for GHSA-cxvc-g8f2-4gmm (CC BY 4.0)
Frequently Asked Questions
Is GHSA-cxvc-g8f2-4gmm in your dependencies?
Find it across Maven, including transitive dependencies.