CVE-2022-47937Apache Sling Commons Json
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Sling Commons Json We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- May 15, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Sling Commons Json.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.sling:org.apache.sling.commons.json |
≤ 2.0.20 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-8j28-34qq-gmch). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | sling_commons_json | ≤ 2.0.20 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- issues.apache.org Vendor Advisory
- lists.apache.org Mailing List
- www.openwall.com