GHSA-mv93-wvcp-7m7r

Suggest an improvement
Source
https://github.com/advisories/GHSA-mv93-wvcp-7m7r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mv93-wvcp-7m7r/GHSA-mv93-wvcp-7m7r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mv93-wvcp-7m7r
Aliases
Related
Published
2022-05-13T01:26:08Z
Modified
2024-05-20T21:13:57Z
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/net/html Improper Validation of Array Index vulnerability
Details

The html package (aka x/net/html) through 2018-09-25 in Go mishandles <math><template><mn><b></template>, leading to a "panic: runtime error" (index out of range) in (*insertionModeStack).pop in node.go, called from inHeadIM, during an html.Parse call.

Database specific
{
    "nvd_published_at": "2018-10-01T08:29:00Z",
    "cwe_ids": [
        "CWE-129"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-08T00:34:13Z"
}
References

Affected packages

Go / golang.org/x/net

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20190125002852-4b62a64f59f7