Every CVE Search/ Get API key

CVE-2020-35380

Denial of service in GJSON

7.5 HighFix available

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.46%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.

Record
CVE-2020-35380
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Updated
2026-11-02
CVE List No score

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.

Record
CVE-2020-35380
Updated
2026-11-02
EUVDEUVD-2021-1416 No score

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.

Record
EUVD-2021-1416
Updated
2026-11-03
GitHub AdvisoriesGHSA-w942-gw6m-p62c 7.5

Denial of service in GJSON

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.

Record
GHSA-w942-gw6m-p62c
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSV 7.5

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.

Record
CVE-2020-35380
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-35380 7.5

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.

Record
DEBIAN-CVE-2020-35380
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-w942-gw6m-p62c 7.5

Denial of service in GJSON

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.

Record
GHSA-w942-gw6m-p62c
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSVUBUNTU-CVE-2020-35380 7.5

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.

Record
UBUNTU-CVE-2020-35380
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGO-2021-0059 No score

Panic due to improper input validation in Get in github.com/tidwall/gjson

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.

Record
GO-2021-0059
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/tidwall/gjson
Go
before 1.6.4
1.6.4
golang-github-tidwall-gjson
Debian:12
before 1.6.7-1
1.6.7-1
golang-github-tidwall-gjson
Debian:13
before 1.6.7-1
1.6.7-1
golang-github-tidwall-gjson
Debian:14
before 1.6.7-1
1.6.7-1
golang-github-tidwall-gjson
Ubuntu:20.04:LTS
All versions, plus listed versions
1.1.5-2
None known
golang-github-tidwall-gjson
Ubuntu:22.04:LTS
All versions, plus listed versions
1.6.7-1
None known
golang-github-tidwall-gjson
Ubuntu:24.04:LTS
All versions, plus listed versions
1.14.4-21.17.1-1
None known
golang-github-tidwall-gjson
Ubuntu:25.10
All versions, plus listed versions
1.17.1-1
None known
golang-github-tidwall-gjson
Ubuntu:26.10
All versions, plus listed versions
1.17.1-11.19.0-1
None known
golang-github-tidwall-gjson
Ubuntu:26.04:LTS
All versions, plus listed versions
1.17.1-1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-35380 is a high vulnerability (CVSS 7.5) in Gjson Project Gjson, published December 15, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.46%, the 73rd percentile. Fixed in github.com/tidwall/gjson 1.6.4.

References

MoveEnter Open