GO-2021-0265

Source
https://pkg.go.dev/vuln/GO-2021-0265
Import Source
https://vuln.go.dev/ID/GO-2021-0265.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0265
Aliases
Published
2022-08-15T18:06:07Z
Modified
2024-05-20T16:03:47Z
Summary
Denial of service via maliciously crafted path in github.com/tidwall/gjson
Details

A maliciously crafted path can cause Get and other query functions to consume excessive amounts of CPU and time.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0265"
}
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.9.3

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/tidwall/gjson",
            "symbols": [
                "Get",
                "GetBytes",
                "GetMany",
                "GetManyBytes",
                "Result.Get",
                "parseObject",
                "queryMatches"
            ]
        }
    ]
}