CVE-2022-47937
Apache Sling Commons JSON bundle vulnerable to Improper Input Validation
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.sling » org.apache.sling.commons.json | <= 2.0.20 | - |
Blast radius
60% of the dependent artifacts (267) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 931 |
| 2 hops | 1,707 |
| 3 hops | 1,387 |
| 4 hops | 2,273 |
| 5 hops | 402 |
| 6 hops | 70 |
Most used dependents
- org.apache.flink » flink-streaming-java982 usages
- org.apache.flink » flink-test-utils539 usages
- org.apache.sling » maven-sling-plugin348 usages
- com.day.jcr.vault » content-package-maven-plugin326 usages
- org.apache.flink » flink-streaming-scala305 usages
- com.day.cq » cq-commons155 usages
- org.apache.flink » flink-connector-kafka151 usages
- org.apache.flink » flink-statebackend-rocksdb127 usages
- com.day.cq.wcm » cq-wcm-api124 usages
- org.apache.sling » org.apache.sling.servlets.post104 usages
- com.adobe.aem » aem-sdk-api86 usages
- io.wcm » io.wcm.testing.aem-mock.junit580 usages
- org.apache.sling » org.apache.sling.testing.sling-mock-oak68 usages
- com.day.cq » cq-tagging60 usages
- org.apache.sling » org.apache.sling.testing.sling-mock59 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-47937 | nvd.nist.gov |
| Web | apache/sling-org-apache-sling-commons-johnzon | github.com |
| Web | jira/browse/SLING-6536 | issues.apache.org |
| Web | thread/sws7z50x47gv0c38q4kx6ktqrvrrg1pm | lists.apache.org |
| Web | lists/oss-security/2023/05/15/2 | openwall.com |
| Web | lists/oss-security/2023/05/15/2 | openwall.com |
