GHSA-w942-gw6m-p62c

Suggest an improvement
Source
https://github.com/advisories/GHSA-w942-gw6m-p62c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-w942-gw6m-p62c/GHSA-w942-gw6m-p62c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w942-gw6m-p62c
Aliases
Published
2021-06-23T17:53:05Z
Modified
2024-05-20T19:27:54Z
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
Summary
Denial of service in GJSON
Details

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON. Due to improper bounds checking, maliciously crafted JSON objects can cause an out-of-bounds panic. If parsing user input, this may be used as a denial of service vector.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-12T21:50:06Z"
}
References

Affected packages

Go / github.com/tidwall/gjson

Package

Name
github.com/tidwall/gjson
View open source insights on deps.dev
Purl
pkg:golang/github.com/tidwall/gjson

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.4