GO-2022-1059

Source
https://pkg.go.dev/vuln/GO-2022-1059
Import Source
https://vuln.go.dev/ID/GO-2022-1059.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-1059
Aliases
Published
2022-10-11T18:16:24Z
Modified
2024-09-11T06:13:24.921303Z
Summary
Denial of service via crafted Accept-Language header in golang.org/x/text/language
Details

An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.

References
Credits
    • Adam Korczynski (ADA Logics)
    • OSS-Fuzz

Affected packages

Go / golang.org/x/text

Package

Name
golang.org/x/text
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/text

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/text/language",
            "symbols": [
                "MatchStrings",
                "ParseAcceptLanguage"
            ]
        }
    ]
}