CVE-2020-35381: Denial of Service in jsonparser

github.com/buger/jsonparser Updated 02 Oct 2025

Summary

25/05/2022
Yes i
High
7.5

CVE-2020-35381: Denial of Service in jsonparser. Affects github.com/buger/jsonparser versions < 1.1.1. Fixed in 1.1.1. How to fix ↓

Also tracked for

The same CVE-2020-35381 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is github.com/buger/jsonparser, which is an open-source Go library for parsing JSON data. It provides efficient and flexible methods to extract values from JSON documents. However, a vulnerability has been discovered in versions prior to 1.1.1, which can lead to a denial of service (DoS) attack. This vulnerability can be exploited through a GET call.

Vulnerability Detail

The vulnerability (CVE-2020-35381) allows attackers to cause a denial of service by exploiting a flaw in the jsonparser package. By making a GET call, an attacker can trigger the vulnerability and disrupt the normal functioning of the application. This can lead to service unavailability and potential impact on the availability of the system. The vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

Latest published version: v1.6.1 as of 22 Oct 2026

go get github.com/buger/jsonparser@v1.6.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.1.1

This is the first release that contains the fix.

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

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to update the jsonparser package to the fixed version.

Conclusion

In conclusion, the github.com/buger/jsonparser package prior to version 1.1.1 is vulnerable to a denial of service attack. To mitigate this vulnerability, it is crucial to update the package to the fixed version. Vulert's playground can be used to check if your application is affected by this vulnerability. For further assistance, you can contact DevNack.com.

See every vulnerability recorded for github.com/buger/jsonparser →

Share this vulnerability

FAQ

The vulnerability can lead to a denial of service (DoS) attack, causing service unavailability and potential disruption of the application's functionality.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. It analyzes your Gopkg.lock file and provides real-time alerts for open-source vulnerabilities.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

There is no specific information provided about known exploits for this vulnerability. However, it is important to update the jsonparser package to the fixed version to mitigate the risk.

For further support on vulnerability remediation, you can reach out to info@devnack.com. Additionally, you can refer to the official documentation and community resources for the jsonparser package to gain a deeper understanding of the vulnerability and its fix.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/buger/jsonparser.

How To Fix

Latest published version: v1.6.1 as of 22 Oct 2026

go get github.com/buger/jsonparser@v1.6.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.1.1

This is the first release that contains the fix.

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

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback