Is github.com/tidwall/gjson 1.6 vulnerable?
Go · 9 releases from 1.6.0 to 1.6.8 · latest github.com/tidwall/gjson is 1.20.4 · checked 18 Nov 2026
Yes: 2 known advisories
Yes. github.com/tidwall/gjson 1.6.8, the last 1.6 release, is affected by 2 known security advisories (1 high, 1 low), including CVE-2021-42248, CVE-2021-42248. 6 more affect earlier 1.6.x releases. Upgrade to 1.9.3 or later to fix all of them.
go get github.com/tidwall/gjson@v1.9.3Is your project on an affected github.com/tidwall/gjson?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting github.com/tidwall/gjson 1.6.8
Denial of service via maliciously crafted path in github.com/tidwall/gjson
- Affected
- <1.9.3
- Fixed in
- 1.9.3
github.com/tidwall/gjson Vulnerable to REDoS attack
- Affected
- <1.9.3
- Fixed in
- 1.9.3
Fixed within 1.6.x, affecting earlier releases
Improper Validation of Array Index in GJSON
- Affected
- <1.6.6
- Fixed in
- 1.6.6
Denial of service via maliciously crafted JSON in github.com/tidwall/gjson
- Affected
- <1.6.5
- Fixed in
- 1.6.5
Denial of service in GJSON
- Affected
- <1.6.4
- Fixed in
- 1.6.4
github.com/tidwall/gjson is vulnerable to Denial of service
- Affected
- <1.6.5
- Fixed in
- 1.6.5
Panic due to improper input validation in ForEach in github.com/tidwall/gjson
- Affected
- <1.6.6
- Fixed in
- 1.6.6
Panic due to improper input validation in Get in github.com/tidwall/gjson
- Affected
- <1.6.4
- Fixed in
- 1.6.4
Every github.com/tidwall/gjson 1.6.x release
Affected: 1.6.0 to 1.6.8. Latest github.com/tidwall/gjson: 1.20.4.
| Version | Known advisories |
|---|---|
| github.com/tidwall/gjson 1.6.8 | CVE-2021-42248, CVE-2021-42248 |
| github.com/tidwall/gjson 1.6.7 | CVE-2021-42248, CVE-2021-42248 |
| github.com/tidwall/gjson 1.6.6 | CVE-2021-42248, CVE-2021-42248 |
| github.com/tidwall/gjson 1.6.5 | CVE-2020-36067, CVE-2021-42248, CVE-2021-42248, CVE-2020-36067 |
| github.com/tidwall/gjson 1.6.4 | CVE-2020-36067, CVE-2020-36066, CVE-2021-42248, CVE-2021-42248, CVE-2020-36066, CVE-2020-36067 |
| github.com/tidwall/gjson 1.6.3 | CVE-2020-36067, CVE-2020-36066, CVE-2021-42248, CVE-2021-42248, CVE-2020-35380, CVE-2020-36066, CVE-2020-36067, CVE-2020-35380 |
| github.com/tidwall/gjson 1.6.2 | CVE-2020-36067, CVE-2020-36066, CVE-2021-42248, CVE-2021-42248, CVE-2020-35380, CVE-2020-36066, CVE-2020-36067, CVE-2020-35380 |
| github.com/tidwall/gjson 1.6.1 | CVE-2020-36067, CVE-2020-36066, CVE-2021-42248, CVE-2021-42248, CVE-2020-35380, CVE-2020-36066, CVE-2020-36067, CVE-2020-35380 |
| github.com/tidwall/gjson 1.6.0 | CVE-2020-36067, CVE-2020-36066, CVE-2021-42248, CVE-2021-42248, CVE-2020-35380, CVE-2020-36066, CVE-2020-36067, CVE-2020-35380 |
Which of your client projects are still on github.com/tidwall/gjson 1.6?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/tidwall/gjson version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other github.com/tidwall/gjson versions
- github.com/tidwall/gjson 1.9
- github.com/tidwall/gjson 1.8
- github.com/tidwall/gjson 1.7
- github.com/tidwall/gjson 1.5
- github.com/tidwall/gjson 1.4
- github.com/tidwall/gjson 1.3
- github.com/tidwall/gjson 1.20
- github.com/tidwall/gjson 1.19
- github.com/tidwall/gjson 1.18
- github.com/tidwall/gjson 1.17
- github.com/tidwall/gjson 1.16
- github.com/tidwall/gjson 1.15
- All github.com/tidwall/gjson advisories
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.