CVE-2022-47937
Apache Sling Commons JSON bundle vulnerable to Improper Input Validation
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
Improper input validation in the Apache Sling Commons JSON bundle allows an attacker to trigger unexpected errors by supplying specially-crafted input. 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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.sling:org.apache.sling.commons.json | no fix listed |
References
- http://www.openwall.com/lists/oss-security/2023/05/15/2
- 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://nvd.nist.gov/vuln/detail/CVE-2022-47937
- https://www.openwall.com/lists/oss-security/2023/05/15/2