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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-buger-jsonparser | 1.1.1-1 | — |
| Debian 13 | golang-github-buger-jsonparser | 1.1.1-1 | — |
| Debian 12 | golang-github-buger-jsonparser | 1.1.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | golang-github-buger-jsonparser | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-buger-jsonparser | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/buger/jsonparser | < 1.1.1 | 1.1.1 | GHSA-8vrw-m3j9-j27c |
References
- https://github.com/buger/jsonparser/issues/219
- FEDORA-2021-b670727349 vendor-advisory
- FEDORA-2021-5676f1be7d vendor-advisory