golang.org/x/net/html Improper Validation of Array Index vulnerability
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.
01
describes (2)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2018-17848US | high7.5 | — | ||
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 (*insertionMod… | ||||
| CVE-2018-17847US | high7.5 | — | ||
The html package (aka x/net/html) through 2018-09-25 in Go mishandles <svg><template><desc><t><svg></template>, leading to a "panic: runtime error" (index out of range) in (*nodeSt… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/golang/go/issues/27846WEB
- https://go.dev/cl/159397WEB
- https://go.dev/issue/27846WEB
- https://go.googlesource.com/net/+/4b62a64f59f73840b9ab79204c94fee61cd1ba2cWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHONWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBKWEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-17848ADVISORY
- https://pkg.go.dev/vuln/GO-2022-0197WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan