CVE-2022-47937 Multiple parsing problems in the Apache Sling Commons JSON module
Attackers can cause unexpected errors and denial of service in applications using the deprecated Apache Sling Commons JSON bundle via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-47937?
CVE-2022-47937 is a critical denial of service vulnerability in org.apache.sling.commons.json, published on 15 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2022-47937?
2 open source packages ship an affected version, including org.apache.sling:org.apache.sling.commons.json. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.sling:org.apache.sling.commons.json Maven | All versions to 2.0.20 | None |
org.apache.sling:org.apache.sling.commons.json Maven | All versions to 2.0.20 | None |
Products include Apache Sling Commons Json.
How do I fix CVE-2022-47937?
No fix has been published for CVE-2022-47937 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-47937 being exploited?
There is no known exploitation of CVE-2022-47937 in the wild and no public exploit code.
Sources
Also known as GHSA-8j28-34qq-gmch.