CVE-2020-35381 Denial of Service in jsonparser
Attackers can cause a denial of service via a panic in the jsonparser library when processing specific GET requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35381?
CVE-2020-35381 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 15 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
jsonparser 1.0.0 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a GET call.
Which versions are affected by CVE-2020-35381?
3 open source packages ship an affected version, including github.com/buger/jsonparser. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/buger/jsonparser Go | All versions | 1.1.1 |
github.com/buger/jsonparser Go | All versions | 1.1.1 |
github.com/buger/jsonparser Go | All versions | 1.1.1 |
Products include Fedoraproject Fedora, Jsonparser Project Jsonparser.
How do I fix CVE-2020-35381?
Upgrade github.com/buger/jsonparser to 1.1.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2020-35381 being exploited?
There is no known exploitation of CVE-2020-35381 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2020-35381, GHSA-8vrw-m3j9-j27c, GO-2021-0057, ROOT-APP-GOBINARY-CVE-2020-35381, UBUNTU-CVE-2020-35381.