github.com/tidwall/gjson vulnerabilities

Registry
Go
Latest
1.20.4

8 known advisories

The latest version, 1.20.4, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/tidwall/gjson@v1.20.4

Is your project on an affected github.com/tidwall/gjson?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for github.com/tidwall/gjson

  • HighCVE-2020-36067GHSA-p64j-r5f4-pwwx6 Feb 2023

    Improper Validation of Array Index in GJSON

    Affected
    <1.6.6
    Fixed in
    1.6.6
  • LowCVE-2020-36066GO-2022-095725 Aug 2022

    Denial of service via maliciously crafted JSON in github.com/tidwall/gjson

    Affected
    <1.6.5
    Fixed in
    1.6.5
  • LowCVE-2021-42248GO-2021-026515 Aug 2022

    Denial of service via maliciously crafted path in github.com/tidwall/gjson

    Affected
    <1.9.3
    Fixed in
    1.9.3
  • HighCVE-2021-42248GHSA-ppj4-34rq-v8j925 Oct 2021

    github.com/tidwall/gjson Vulnerable to REDoS attack

    Affected
    <1.9.3
    Fixed in
    1.9.3
  • HighCVE-2020-35380GHSA-w942-gw6m-p62c23 Jun 2021

    Denial of service in GJSON

    Affected
    <1.6.4
    Fixed in
    1.6.4
  • HighCVE-2020-36066GHSA-wjm3-fq3r-5x4618 May 2021

    github.com/tidwall/gjson is vulnerable to Denial of service

    Affected
    <1.6.5
    Fixed in
    1.6.5
  • LowCVE-2020-36067GO-2021-005414 Apr 2021

    Panic due to improper input validation in ForEach in github.com/tidwall/gjson

    Affected
    <1.6.6
    Fixed in
    1.6.6
  • LowCVE-2020-35380GO-2021-005914 Apr 2021

    Panic due to improper input validation in Get in github.com/tidwall/gjson

    Affected
    <1.6.4
    Fixed in
    1.6.4

Is your github.com/tidwall/gjson version vulnerable?

Which of your client projects still run an old github.com/tidwall/gjson?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.