GHSA-fcf9-6fv2-fc5v
golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | golang.org/x/net | < 0.0.0-20180921000356-2f5d2388922f | 0.0.0-20180921000356-2f5d2388922f |
Details
As written in the advisory (Markdown source, shown as plain text).
The html package (aka x/net/html) through 2018-09-17 in Go mishandles <template><tBody><isindex/action=0>, leading to a "panic: runtime error" in inBodyIM in parse.go during an html.Parse call
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2018-17143
- https://github.com/golang/go/issues/27704
- https://github.com/golang/go
- https://go-review.googlesource.com/c/net/+/136575
- https://go.dev/issue/27704
- https://go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK
- https://pkg.go.dev/vuln/GO-2022-0193