GHSA-ppp9-7jff-5vj2

Suggest an improvement
Source
https://github.com/advisories/GHSA-ppp9-7jff-5vj2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-ppp9-7jff-5vj2/GHSA-ppp9-7jff-5vj2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ppp9-7jff-5vj2
Aliases
Related
Published
2022-12-26T06:30:22Z
Modified
2023-11-08T04:06:28.495390Z
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
golang.org/x/text/language Out-of-bounds Read vulnerability
Details

golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.

Database specific
{
    "nvd_published_at": "2022-12-26T06:15:00Z",
    "cwe_ids": [
        "CWE-125"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-09T20:02:12Z"
}
References

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.7