SecurityContext

CVE-2021-42836: GJSON - Regular Expression Denial of Service

  • Cve: CVE-2021-42836
  • Name: GJSON - Regular Expression Denial of Service
  • Description: GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
  • Impact: Attackers can cause denial of service by exhausting server resources through crafted input.
  • Remediation: Update to version 1.9.3 or later.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.02015
  • Epss percentile: 0.8141
  • Assignee: [email protected]
  • Published at: 2021-10-22T18:15:14Z
  • Age in days: 1859
  • Modified at: 2026-06-17T04:10:11Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-42836
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption

Public exploits

UrlSourceAdded date
https://github.com/tidwall/gjson/issues/236nvd2021-10-22
https://github.com/tidwall/gjson/issues/237nvd2021-10-22

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944Patch, Third Party Advisory
https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96Patch, Third Party Advisory
https://github.com/tidwall/gjson/issues/237Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/tidwall/gjson/issues/236Exploit, Issue Tracking, Third Party Advisory
https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3Release Notes, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gjson_project:gjson< 1.9.3nonvd/v1/products/gjson_project/gjson

Projects

RepositoryLink kindsIndexedUrl
tidwall/gjsoncommit, compare, issues, packageyes/v1/repositories/tidwall/gjson

Index

  • Repositories: 8
  • Repositories high signal: 2
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-10-22
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts