Ubuntu CVE Tracker
UBUNTU-CVE-2021-42836
Details
GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | golang-github-tidwall-gjson | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-github-tidwall-gjson | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-github-tidwall-gjson | All versions, no fix listed |
| Ubuntu:25.10 | golang-github-tidwall-gjson | All versions, no fix listed |
| Ubuntu:26.10 | golang-github-tidwall-gjson | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-github-tidwall-gjson | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2021-42836
- https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944
- https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
- https://github.com/tidwall/gjson/issues/236
- https://github.com/tidwall/gjson/issues/237
- https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3
- https://www.cve.org/CVERecord?id=CVE-2021-42836