Denial of Service Vulnerability in Buger JSONParser Package

Summary

19/03/2020
N/A
Yes i
High
7.5

CVE-2020-10675: The Library API in buger jsonparser through 2019-12-04 allows attackers to cause a denial of service (infinite loop) via a Delete call. Affects golang-github-buger-jsonparser across 2 version ranges.

< 0.0~git20200322.0.f7e751e-1 < 5754b3eaeae78aeca49528d2ab980c0f26ca707c

Fixed in 0.0~git20200322.0.f7e751e-1. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Buger JSONParser is a Go library designed for fast and efficient parsing of JSON data. It is widely used in various applications due to its performance and ease of use. However, it has been identified to have a vulnerability that allows attackers to exploit the library, leading to a denial of service condition.

Vulnerability Detail

The vulnerability, identified as CVE-2020-10675, arises from an infinite loop that can be triggered by a Delete call within the Library API of the Buger JSONParser. This flaw allows attackers to cause a denial of service, potentially leading to application crashes or unresponsiveness. The issue was introduced in versions prior to the fix and affects multiple Debian ecosystems, including Debian 11, 12, and 13.

How To Fix

Minimum fixed version

0.0~git20200322.0.f7e751e-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade golang-github-buger-jsonparser

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

Workaround

If immediate upgrading is not feasible, consider implementing input validation to prevent malicious data from being processed by the JSONParser. This can help mitigate the risk of triggering the infinite loop.

Conclusion

The CVE-2020-10675 vulnerability in the Buger JSONParser poses a significant risk by allowing denial of service attacks through an infinite loop. It is crucial for users to update their packages to the latest version to mitigate this risk. Additionally, using tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for golang-github-buger-jsonparser →

Share this vulnerability

FAQ

CVE-2020-10675 is a vulnerability in the Buger JSONParser that allows attackers to cause a denial of service through an infinite loop triggered by a Delete call.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2020-10675 is 7.5, indicating a high severity level.

If you cannot update the package, consider implementing input validation to prevent the processing of potentially malicious data.

More information can be found on the official CVE database and the GitHub repository for the Buger JSONParser.

Related vulnerabilities

Recent vulnerabilities recorded for golang-github-buger-jsonparser.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.0~git20200322.0.f7e751e-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade golang-github-buger-jsonparser

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