# CVE-2020-35381: GO-2021-0057 - Panic due to improper input validation in github.com/buger/jsonparser

Source: https://junglewise.ai/threats/cve-2020-35381-denial-of-service-in-jsonparser  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-14  
License: CC BY 4.0 with a link back

CVE-2020-35381 · Severity: low · CVSS 3.1 · Published 2021-04-14

Panic due to improper input validation in github.com/buger/jsonparser

Technologies: [github.com/buger/jsonparser (Go)](https://junglewise.ai/threats/technologies/github-com-buger-jsonparser). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2020-35381 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-35381 being exploited in the wild.

**How severe is CVE-2020-35381?** Low severity, with a CVSS score of 3.1, published 14 April 2021.

**Which products and versions are affected?** github.com/buger/jsonparser (Go) SEMVER:introduced=0,fixed=1.1.1.

**Is there a fix for CVE-2020-35381?** Yes. github.com/buger/jsonparser (Go): upgrade to 1.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-35381?** Check whether you run github.com/buger/jsonparser (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/buger/jsonparser (Go): upgrade to 1.1.1 or later

  ```sh
  go get github.com/buger/jsonparser@v1.1.1
  ```


## Affected products

- github.com/buger/jsonparser (Go) SEMVER:introduced=0,fixed=1.1.1

## Identifiers

- CVE-2020-35381
- GHSA-8vrw-m3j9-j27c
- GO-2021-0057

## Related threats

- [buger jsonparser denial of service via negative slice index panic](https://junglewise.ai/threats/cve-2026-32285-buger-jsonparser-denial-of-service-via-negative-slice-index-panic)
- [GO-2021-0089 - Infinite loop in github.com/buger/jsonparser](https://junglewise.ai/threats/cve-2020-10675-infinite-loop-in-jsonparser)
