CVE-2021-42836
CVE-2021-42836 is a high-severity vulnerability in Gjson Project Gjson with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-400.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 2% (81st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-400
- Affected product: Gjson Project Gjson
- Published:
- Last modified:
Description
GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
Frequently asked questions
- What is CVE-2021-42836?
- GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
- How severe is CVE-2021-42836?
- CVE-2021-42836 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-42836 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-42836?
- CVE-2021-42836 affects Gjson Project Gjson. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-42836?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-42836 published?
- CVE-2021-42836 was published on 2021-10-22 and last updated on 2026-06-17.
References
- https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944
- https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
- https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3
- https://github.com/tidwall/gjson/issues/236
- https://github.com/tidwall/gjson/issues/237
Affected products (1)
- cpe:2.3:a:gjson_project:gjson:*:*:*:*:*:*:*:*
More vulnerabilities in Gjson Project Gjson
- CVE-2020-36067 — High (CVSS 7.5): GJSON <=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a…
- CVE-2020-36066 — High (CVSS 7.5): GJSON <1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.
- CVE-2020-35380 — High (CVSS 7.5): GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.
All CVEs affecting Gjson Project Gjson →
Other CWE-400 (Uncontrolled Resource Consumption) vulnerabilities
- CVE-2026-46775 — Critical (CVSS 9.9): Vulnerability in Oracle REST Data Services (component: Core). Supported versions that are affected are 24.2.0-26.1.0.…
- CVE-2025-61303 — Critical (CVSS 9.8): Hatching Triage Sandbox Windows 10 build 2004 (2025-08-14) and Windows 10 LTSC 2021(2025-08-14) contains a…
- CVE-2025-43193 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7,…
- CVE-2025-24269 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4. An app may be able to…
- CVE-2025-24264 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4,…
- CVE-2025-24260 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5,…
Browse all CWE-400 (Uncontrolled Resource Consumption) vulnerabilities →