VDB
Sign up
HIGH7.5

GHSA-6g7g-w4f8-9c9x

github.com/buger/jsonparser has a denial of service vulnerability

Quick fix

GHSA-6g7g-w4f8-9c9x — github.com/buger/jsonparser: upgrade to the fixed version with the command below.

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

Details

The Delete function fails to properly validate offsets when processing malformed JSON input. This can lead to a negative slice index and a runtime panic, allowing a denial of service attack.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/buger/jsonparser
Introduced in: 0Fixed in: 1.1.2
Fixgo get github.com/buger/jsonparser@v1.1.2

References