HIGH7.5
GHSA-2wp2-chmh-r934
golang.org/x/net/html NULL Pointer Dereference vulnerability
Quick fix
GHSA-2wp2-chmh-r934 — golang.org/x/net: upgrade to the fixed version with the command below.
go get golang.org/x/net@v0.0.0-20180925071336-cf3bd585ca2aDetails
The html package (aka x/net/html) through 2018-09-17 in Go mishandles <math><template><mo><template>, leading to a "panic: runtime error" in parseCurrentToken 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-20180925071336-cf3bd585ca2aFix
go get golang.org/x/net@v0.0.0-20180925071336-cf3bd585ca2aReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-17142[ADVISORY]
- https://github.com/golang/go/issues/27702[WEB]
- https://github.com/golang/go[PACKAGE]
- https://go.dev/cl/136875[WEB]
- https://go.dev/issue/27702[WEB]
- https://go.googlesource.com/net/+/cf3bd585ca2a5a21b057abd8be7eea2204af89d0[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-0192[WEB]