GitHub Advisory Database
GHSA-8j28-34qq-gmch
Apache Sling Commons JSON bundle vulnerable to Improper Input Validation
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.sling:org.apache.sling.commons.json | All versions up to and including 2.0.20 |
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