CVE-2023-25141
HIGH 7.5CVSS 3.1Command injection in Apache Sling
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.
- Published
- 14 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-gvg3-83q4-rfhq
- Sources
- NVDJSONOSV GHSA-gvg3-83q4-rfhqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | sling_jcr_basecpe:2.3:a:apache:sling_jcr_base:*:*:*:*:*:*:*:* |
>= 2.0.6, < 3.1.12 | 3.1.12 |
| OSV | Maven | org.apache.sling:org.apache.sling.jcr.base | < 3.1.12 | 3.1.12 |
References
- https://sling.apache.org/news.html · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-25141 · ADVISORY
- https://github.com/apache/sling-org-apache-sling-jcr-base/commit/6ed0a030fd5f13774aff0073c55cbe3ace0153cb · WEB
- https://github.com/apache/sling-org-apache-sling-jcr-base/commit/779d8a7dd0437a4f31de02c0d995afcf83b9904b · WEB
- https://github.com/apache/sling-org-apache-sling-jcr-base · PACKAGE
- https://issues.apache.org/jira/browse/SLING-11770 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 14 Feb 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Feb 2023)