Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1jOWdtLTdyZmotOHc1aM4AArMo
Duplicate Advisory: ReDoS via crafted JSON input in GJSON
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-ppj4-34rq-v8j9. This link is maintained to preserve external references.
Original Description
GJSON <= 1.9.2 allows attackers to cause a redos via crafted JSON input.
Permalink: https://github.com/advisories/GHSA-c9gm-7rfj-8w5hJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jOWdtLTdyZmotOHc1aM4AArMo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: 1 day ago Widthdrawn: 1 day ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-c9gm-7rfj-8w5h, CVE-2021-42248
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-42248
- https://github.com/tidwall/gjson/issues/237
- https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
- https://github.com/tidwall/gjson/issues/236
- https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944
- https://pkg.go.dev/vuln/GO-2021-0265
- https://github.com/advisories/GHSA-c9gm-7rfj-8w5h
Blast Radius: 31.0
Affected Packages
go:github.com/tidwall/gjson
Dependent packages: 8,750Dependent repositories: 13,403
Downloads:
Affected Version Ranges: < 1.9.3
Fixed in: 1.9.3
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.9.2
All unaffected versions: 1.9.3, 1.9.4, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15.0, 1.16.0, 1.17.0