HIGH7.5
GHSA-83g2-8m93-v3w7
golang.org/x/net/html Infinite Loop vulnerability
Quick fix
GHSA-83g2-8m93-v3w7 — golang.org/x/net: upgrade to the fixed version with the command below.
go get golang.org/x/net@v0.0.0-20210520170846-37e1c6afe023Details
Go through 1.15.12 and 1.16.x through 1.16.4 has a golang.org/x/net/html infinite loop via crafted ParseFragment input.
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-20210520170846-37e1c6afe023Fix
go get golang.org/x/net@v0.0.0-20210520170846-37e1c6afe023References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33194[ADVISORY]
- https://github.com/golang/net/commit/37e1c6afe02340126705deced573a85ab75209d7[WEB]
- https://go.dev/cl/311090[WEB]
- https://go.dev/issue/46288[WEB]
- https://go.googlesource.com/net/+/37e1c6afe02340126705deced573a85ab75209d7[WEB]
- https://groups.google.com/g/golang-announce/c/wPunbCPkWUg[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM[WEB]
- https://pkg.go.dev/vuln/GO-2021-0238[WEB]