Vulnerability Database
Blog
FAQ
Docs
CVE-2021-42836
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-42836
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42836.json
Aliases
CVE-2021-42248
GHSA-c9gm-7rfj-8w5h
GHSA-ppj4-34rq-v8j9
GO-2021-0265
GO-2022-0592
Published
2021-10-22T18:15:14Z
Modified
2023-11-29T09:05:07.470951Z
Details
GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
References
https://github.com/tidwall/gjson/issues/236
https://github.com/tidwall/gjson/issues/237
https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944
https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3
Affected packages
Git
/
github.com/tidwall/gjson
Affected ranges
Type
GIT
Repo
https://github.com/tidwall/gjson
Events
Introduced
0
The exact introduced commit is unknown
Fixed
77a57fda87dca6d0d7d4627d512a630f89a91c96
Fixed
590010fdac311cc8990ef5c97448d4fec8f29944
Affected versions
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v1.2.0
v1.2.1
v1.2.2
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.4.0
v1.5.0
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4
v1.6.5
v1.6.6
v1.6.7
v1.6.8
v1.7.0
v1.7.1
v1.7.2
v1.7.3
v1.7.4
v1.7.5
v1.8.0
v1.8.1
v1.9.0
v1.9.1
v1.9.2
CVE-2021-42836 - OSV