Vulnerability Database
Blog
FAQ
Docs
arrow_forward
search
UBUNTU-CVE-2021-42836
See a problem?
Please try reporting it
to the source
first.
Source
https://ubuntu.com/security/CVE-2021-42836
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42836.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-42836
Upstream
CVE-2021-42836
Published
2021-10-22T18:15:00Z
Modified
2025-07-14T07:00:51.492262Z
Severity
7.5 (High)
CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Calculator
Ubuntu - medium
Summary
[none]
Details
GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
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
Affected packages
Ubuntu:Pro:20.04:LTS
/
golang-github-tidwall-gjson
Package
Name
golang-github-tidwall-gjson
Purl
pkg:deb/ubuntu/golang-github-tidwall-gjson@1.1.5-2?arch=source&distro=esm-apps/focal
Affected ranges
Type
ECOSYSTEM
Events
Introduced
0
Unknown introduced version / All previous versions are affected
Affected versions
1.*
1.1.5-2
Ubuntu:22.04:LTS
/
golang-github-tidwall-gjson
Package
Name
golang-github-tidwall-gjson
Purl
pkg:deb/ubuntu/golang-github-tidwall-gjson@1.6.7-1?arch=source&distro=jammy
Affected ranges
Type
ECOSYSTEM
Events
Introduced
0
Unknown introduced version / All previous versions are affected
Affected versions
1.*
1.6.7-1
Ubuntu:24.04:LTS
/
golang-github-tidwall-gjson
Package
Name
golang-github-tidwall-gjson
Purl
pkg:deb/ubuntu/golang-github-tidwall-gjson@1.17.1-1?arch=source&distro=noble
Affected ranges
Type
ECOSYSTEM
Events
Introduced
0
Unknown introduced version / All previous versions are affected
Affected versions
1.*
1.14.4-2
1.17.1-1
Ubuntu:25.04
/
golang-github-tidwall-gjson
Package
Name
golang-github-tidwall-gjson
Purl
pkg:deb/ubuntu/golang-github-tidwall-gjson@1.17.1-1?arch=source&distro=plucky
Affected ranges
Type
ECOSYSTEM
Events
Introduced
0
Unknown introduced version / All previous versions are affected
Affected versions
1.*
1.17.1-1
UBUNTU-CVE-2021-42836 - OSV