CVE-2021-23900 json
Uncaught Exception leading to Denial of Service in json-sanitizer
published 5y ago modified 4mo ago also GHSA-8rf5-92jh-3vc9 , EUVD-2021-1020
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
OWASP json-sanitizer before 1.2.2 can output invalid JSON or throw an undeclared exception for crafted input. This may lead to denial of service if the application is not prepared to handle these situations.
Patch / fix
- maven com.mikesamuel:json-sanitizer 1.2.2
- owasp json-sanitizer 1.2.2
Is CVE-2021-23900 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 FencerExploit prediction
2.13% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.mikesamuel:json-sanitizer | <1.2.2 |
1.2.2 |
Classification
- Weakness
-
- CWE-248 Uncaught Exception
References
-
github.com
/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e
web, patch, third-party-advisory
-
github.com
/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2
web, patch, third-party-advisory
-
groups.google.com
/g/json-sanitizer-support/c/dAW1AeNMoA0
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23900
advisory
Sources
- CVE List CVE-2021-23900
- GitHub Advisory GHSA-8rf5-92jh-3vc9
- NVD CVE-2021-23900
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.