HIGH7.5
GHSA-5p4h-3377-7w67
golang.org/x/net/html NULL Pointer Dereference vulnerability
Quick fix
GHSA-5p4h-3377-7w67 — golang.org/x/net: upgrade to the fixed version with the command below.
go get golang.org/x/net@v0.0.0-20180816102801-aaf60122140dDetails
The html package (aka x/net/html) before 2018-07-13 in Go mishandles "in frameset" insertion mode, leading to a "panic: runtime error" for html.Parse of <template><object>, <template><applet>, or <template><marquee>. This is related to HTMLTreeBuilder.cpp in WebKit.
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-20180816102801-aaf60122140dFix
go get golang.org/x/net@v0.0.0-20180816102801-aaf60122140dReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-17075[ADVISORY]
- https://github.com/golang/go/issues/27016[WEB]
- https://github.com/golang/net/commit/aaf60122140d3fcf75376d319f0554393160eb50[WEB]
- https://bugs.chromium.org/p/chromium/issues/detail?id=829668[WEB]
- https://github.com/golang/go[PACKAGE]
- https://go-review.googlesource.com/c/net/+/94838/9/html/parse.go#1906[WEB]
- https://go.dev/cl/123776[WEB]
- https://go.dev/issue/27016[WEB]
- https://go.googlesource.com/net/+/aaf60122140d3fcf75376d319f0554393160eb50[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-2021-0078[WEB]