GO-2021-0054
Dashboard / Vulnerabilities / GO-2021-0054
GO-2021-0054
Published: 14 Apr 2021Last Modified: 20 May 2024
Aliases:
Summary: Panic due to improper input validation in ForEach 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/bf4efcb3c18d1825b2988603dea5909140a5302b, https://github.com/tidwall/gjson/issues/196
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.6
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
