CVE-2021-42248
Denial of service via maliciously crafted path in github.com/tidwall/gjson
7.5
HIGH
CVSS 3.1
Description
A maliciously crafted path can cause Get and other query functions to consume excessive amounts of CPU and time.
How to fix CVE-2021-42248
To remediate CVE-2021-42248, upgrade the affected package to a fixed version below.
- Go/github.com/tidwall/gjson—upgrade to 1.9.3 or later
- Go/github.com/tidwall/gjson—upgrade to 1.9.3 or later
- Go/github.com/tidwall/gjson—upgrade to 1.9.3 or later
Is CVE-2021-42248 being exploited?
No exploitation signal available. Neither CISA KEV nor a current EPSS score has been published for CVE-2021-42248.
Affected packages (3)
- from 0, < 1.9.3
- from 0, < 1.9.3
- from 0, < 1.9.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |