JNDI injection into Apache sling-org-apache-sling-jcr-base
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Sling JCR Base | 2.0.6 to before 3.1.12 | 3.1.12 | Patch available | CNA |
| — | org.apache.sling:org.apache.sling.jcr.base (Maven) | before 3.1.12 | 3.1.12 | Patch available | GHSA-gvg3-83q4-rfhq |
- Apache Sling JCR Base VendorApache Affected 2.0.6 to before 3.1.12 Fixed in 3.1.12 Patch available CNA
- org.apache.sling:org.apache.sling.jcr.base (Maven) Vendor— Affected before 3.1.12 Fixed in 3.1.12 Patch available GHSA-gvg3-83q4-rfhq
Remediation
- Fix · CNA Apache Sling JCR Base (Apache Software Foundation) Fixed in 3.1.12
- Fix · GHSA-gvg3-83q4-rfhq org.apache.sling:org.apache.sling.jcr.base (Maven) Fixed in 3.1.12 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-25141
- 2026-10-03 Alias added: GHSA-gvg3-83q4-rfhq
References
Other 4
- https://github.com/apache/sling-org-apache-sling-jcr-base/commit/6ed0a030fd5f13774aff0073c55cbe3ace0153cb
- https://github.com/apache/sling-org-apache-sling-jcr-base/commit/779d8a7dd0437a4f31de02c0d995afcf83b9904b
- https://github.com/apache/sling-org-apache-sling-jcr-base
- https://issues.apache.org/jira/browse/SLING-11770
Sources
- CVE-2023-25141 · CVE Program
- CVE-2023-25141 · NVD
- FIRST EPSS
- GHSA-gvg3-83q4-rfhq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences