GitHub Advisoryadvisory · Go

GHSA-w942-gw6m-p62c Denial of service in GJSON

HIGH Published 2021-06-23 Modified 2024-05-20 Official page ↗
Aliases
CVE-2020-35380
Ecosystem
Go
Packages
github.com/tidwall/gjson
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2021-05-12

Affected packages

• Go github.com/tidwall/gjson: < 1.6.4 → fixed in 1.6.4

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-35380 GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References