HIGH 7.5 Go
golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer
GHSA-4r78-hx75-jjj2 · CVE-2018-17847 · CVE-2018-17848 · GHSA-mv93-wvcp-7m7r · GO-2022-0197
Published · Modified
Description
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 (*nodeStack).pop in node.go, called from (*parser).clearActiveFormattingElements, during an html.Parse call.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2018-17847
- WEB https://github.com/golang/go/issues/27846
- PACKAGE https://github.com/golang/go
- WEB https://go.dev/cl/159397
- WEB https://go.dev/issue/27846
- WEB https://go.googlesource.com/net/+/4b62a64f59f73840b9ab79204c94fee61cd1ba2c
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK
- WEB https://pkg.go.dev/vuln/GO-2022-0197
Ready to move
Start Securing
Free, no credit card | First findings in minutes