CVE-2021-42836
7.5 HIGHGJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack
Published: 2021-10-22 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 7.5 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CWE
- CWE-400
Affected products
| Vendor | Product |
|---|---|
| gjson_project | gjson |
Description
GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-42836
- [Patch]https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944
- [Patch]https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
- [Other]https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3
- [Exploit reference]https://github.com/tidwall/gjson/issues/236
- [Patch]https://github.com/tidwall/gjson/issues/237
- [Patch]https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944
- [Patch]https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
- [Other]https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3
- [Exploit reference]https://github.com/tidwall/gjson/issues/236
- [Patch]https://github.com/tidwall/gjson/issues/237
Related CVEs
Same CWE
- CVE-2026-12325 — Denial-of-service in the Graphics: ImageLib component (6.5 MEDIUM)
- CVE-2026-12319 — Denial-of-service in the Audio/Video: Playback component (6.5 MEDIUM)
- CVE-2026-50889 — An input handling flaw in the HTTP refresh token process of LLDAP v0.6.2 allows attackers to cause a Denial of Service (DoS) via sending ... (7.5 HIGH)
- CVE-2026-50882 — An issue in the /api/v0/pastes endpoint of anna-is-cute paste v0.1.1 allows attackers to cause a Denial of Service (DoS) via a crafted PO... (7.5 HIGH)
- CVE-2026-50879 — An issue in the uploadPostHandler component of Andrei Marcu linx-server v2.3.8 allows attackers to cause a Denial of Service (DoS) via a ... (7.5 HIGH)