MODERATE 6.5

CVE-2025-58782

Apache Jackrabbit: Core and JCR Commons are vulnerable to Deserialization of Untrusted Data

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.jackrabbit » jackrabbit-core
>= 1.0.0, < 2.22.2
2.22.2
org.apache.jackrabbit » jackrabbit-jcr-commons
>= 1.0.0, < 2.22.2
2.22.2

Blast radius

2affected artifacts
1,029affected versions
4,207dependent artifacts (est.)
199,265dependent versions

79% of the dependent artifacts (3,338) still pull an affected version in their latest release.

DepthDependent versions
Direct
26,635
2 hops
60,616
3 hops
42,896
4 hops
29,407
5 hops
23,676
6 hops
16,035

Most used dependents

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.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webissues.apache.org
Weblists.apache.org
Webopenwall.com