CVE-2022-47937 json
Multiple parsing problems in the Apache Sling Commons JSON module
published 3y ago modified 4mo ago also GHSA-8j28-34qq-gmch , EUVD-2023-1502
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2022-47937 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
2.19% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.sling:org.apache.sling.commons.json | <=2.0.20 |
no fix listed |
Affected products
- Apache Software Foundation org.apache.sling.commons.json
- apache sling_commons_json
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
lists.apache.org
/thread/sws7z50x47gv0c38q4kx6ktqrvrrg1pm
vendor-advisory, web, mailing-list
-
issues.apache.org
/jira/browse/SLING-6536
issue-tracking, web, vendor-advisory
-
github.com
/apache/sling-org-apache-sling-commons-johnzon
related, web, product
-
openwall.com
/lists/oss-security/2023/05/15/2
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-47937
advisory
-
openwall.com
/lists/oss-security/2023/05/15/2
web
Sources
- CVE List CVE-2022-47937
- GitHub Advisory GHSA-8j28-34qq-gmch
- NVD CVE-2022-47937
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.