GO-2021-0059
Dashboard / Vulnerabilities / GO-2021-0059
GO-2021-0059
Published: 14 Apr 2021Last Modified: 20 May 2024
Aliases:
Summary: Panic due to improper input validation in Get in github.com/tidwall/gjson
Details: 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://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc, https://github.com/tidwall/gjson/issues/192
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
