HIGH7.5
GHSA-fcf9-6fv2-fc5v
golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer
Quick fix
GHSA-fcf9-6fv2-fc5v — golang.org/x/net: upgrade to the fixed version with the command below.
go get golang.org/x/net@v0.0.0-20180921000356-2f5d2388922fDetails
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
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/golang.org/x/net
Introduced in:
0Fixed in: 0.0.0-20180921000356-2f5d2388922fFix
go get golang.org/x/net@v0.0.0-20180921000356-2f5d2388922fReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-17143[ADVISORY]
- https://github.com/golang/go/issues/27704[WEB]
- https://github.com/golang/go[PACKAGE]
- https://go-review.googlesource.com/c/net/+/136575[WEB]
- https://go.dev/issue/27704[WEB]
- https://go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908[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-0193[WEB]