Vulnerability · Published Oct 22, 2021 · Assigned by mitre

CVE-2021-42836

High 7.5

In plain English

A high-severity security flaw in the golang-github-tidwall-gjson package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.4%top 15.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-tidwall-gjson1.14.4-2DEBIAN-CVE-2021-42836
Debian:13golang-github-tidwall-gjson1.14.4-2DEBIAN-CVE-2021-42836
Debian:14golang-github-tidwall-gjson1.14.4-2DEBIAN-CVE-2021-42836
Gogithub.com/tidwall/gjson1.9.3GHSA-c9gm-7rfj-8w5h
Gogithub.com/tidwall/gjson1.9.3GHSA-ppj4-34rq-v8j9
Gogithub.com/tidwall/gjson1.9.3GO-2021-0265
Ubuntu:22.04:LTSgolang-github-tidwall-gjsonno fix listedUBUNTU-CVE-2021-42836
Ubuntu:24.04:LTSgolang-github-tidwall-gjsonno fix listedUBUNTU-CVE-2021-42836
Ubuntu:25.10golang-github-tidwall-gjsonno fix listedUBUNTU-CVE-2021-42836
Ubuntu:26.04:LTSgolang-github-tidwall-gjsonno fix listedUBUNTU-CVE-2021-42836
Ubuntu:26.10golang-github-tidwall-gjsonno fix listedUBUNTU-CVE-2021-42836

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References