GoWorst: High5 advisories

github.com/tidwall/gjson: known vulnerabilities

github.com/tidwall/gjson has 5 reviewed security advisories in the GitHub Advisory Database — 5 high. The most recent was published 2023-02-06. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/tidwall/gjson versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/tidwall/gjson

Upgrade github.com/tidwall/gjson to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/tidwall/gjson@1.6.6 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (5)

Improper Validation of Array Index in GJSON High 7.5 CWE-129 — Affected: before 1.6.6. Fixed in 1.6.6. Published 2023-02-06. GHSA-p64j-r5f4-pwwx · CVE-2020-36067
Duplicate Advisory: ReDoS via crafted JSON input in GJSON High 7.5 CWE-1333 — Affected: before 1.9.3. Fixed in 1.9.3. Published 2022-05-24. GHSA-c9gm-7rfj-8w5h · CVE-2021-42248
github.com/tidwall/gjson Vulnerable to REDoS attack High 7.5 CWE-1333 CWE-400 CWE-697 — Affected: before 1.9.3. Fixed in 1.9.3. Published 2021-10-22. GHSA-ppj4-34rq-v8j9 · CVE-2021-42248
github.com/tidwall/gjson is vulnerable to Denial of service High 7.5 CWE-400 — Affected: before 1.6.5. Fixed in 1.6.5. Published 2021-05-18. GHSA-wjm3-fq3r-5x46 · CVE-2020-36066

Find github.com/tidwall/gjson across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.