HIGH 7.5

CVE-2023-25141

Command injection in Apache Sling

Description

Apache Sling JCR Base < 3.1.12 has a critical injection vulnerability when running on old JDK versions (JDK 1.8.191 or earlier) through utility functions in RepositoryAccessor. The functions getRepository and getRepositoryFromURL allow an application to access data stored in a remote location via JDNI and RMI. Users of Apache Sling JCR Base are recommended to upgrade to Apache Sling JCR Base 3.1.12 or later, or to run on a more recent JDK.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.sling » org.apache.sling.jcr.base
< 3.1.12
3.1.12

Blast radius

1affected artifacts
32affected versions
184dependent artifacts (est.)
2,493dependent versions

88% of the dependent artifacts (162) still pull an affected version in their latest release.

DepthDependent versions
Direct
675
2 hops
1,485
3 hops
297
4 hops
36

Most used dependents

Computed from the dependency graph of build 20261129.0021 (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.