GHSA-w942-gw6m-p62c
Dashboard / Vulnerabilities / GHSA-w942-gw6m-p62c
GHSA-w942-gw6m-p62c
Published: 23 Jun 2021Last Modified: 20 May 2024
Aliases:
Summary: Denial of service in GJSON
Details: GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON. Due to improper bounds checking, maliciously crafted JSON objects can cause an out-of-bounds panic. If parsing user input, this may be used as a denial of service vector.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-35380, https://github.com/tidwall/gjson/issues/192, https://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc, https://github.com/tidwall/gjson, https://pkg.go.dev/vuln/GO-2021-0059
Affected packages
Package
Name: github.com/tidwall/gjson
Purl: pkg:golang/github.com/tidwall/gjson
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.6.4
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
