CVE-2022-47937
CRITICAL 9.8CVSS 3.1Apache 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.
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.
- Published
- 15 May 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-8j28-34qq-gmch
- Sources
- NVDJSONOSV GHSA-8j28-34qq-gmchJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | sling_commons_jsoncpe:2.3:a:apache:sling_commons_json:*:*:*:*:*:*:*:* |
<= 2.0.20 | |
| OSV | Maven | org.apache.sling:org.apache.sling.commons.json | <= 2.0.20 |
References
- https://github.com/apache/sling-org-apache-sling-commons-johnzon · Product, WEB
- https://issues.apache.org/jira/browse/SLING-6536 · Vendor Advisory, WEB
- https://lists.apache.org/thread/sws7z50x47gv0c38q4kx6ktqrvrrg1pm · Mailing List, WEB
- https://www.openwall.com/lists/oss-security/2023/05/15/2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-47937 · ADVISORY
- http://www.openwall.com/lists/oss-security/2023/05/15/2 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 15 May 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 May 2023)