Apache Sling Commons JSON bundle vulnerable to Improper Input Validation
Improper input validation in the Apache Sling Commons JSON bundle allows an attacker to trigger unexpected errors by supplying specially-crafted input.
NOTE: This vulnerability only affects products that are no longer supported by the maintainer. The org.apache.sling.commons.json bundle has been deprecated as of March 2017 and should not be used anymore. Consumers are encouraged to consider the Apache Sling Commons Johnzon OSGi bundle provided by the Apache Sling project, but may of course use other JSON libraries.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.sling:org.apache.sling.commons.json | <= 2.0.20 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-47937
- https://github.com/apache/sling-org-apache-sling-commons-johnzon
- https://issues.apache.org/jira/browse/SLING-6536
- https://lists.apache.org/thread/sws7z50x47gv0c38q4kx6ktqrvrrg1pm
- https://www.openwall.com/lists/oss-security/2023/05/15/2
- http://www.openwall.com/lists/oss-security/2023/05/15/2
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
org.apache.sling:org.apache.sling.commons.json- Disclosed
- 15.05.2023
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8j28-34qq-gmch - CC BY 4.0
Vulnerability history: org.apache.sling:org.apache.sling.commons.json
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.