GitHub Advisory Database
GHSA-83g2-8m93-v3w7
golang.org/x/net/html Infinite Loop vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/net | All versions before 0.0.0-20210520170846-37e1c6afe023 (fixed in 0.0.0-20210520170846-37e1c6afe023) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33194
- https://github.com/golang/net/commit/37e1c6afe02340126705deced573a85ab75209d7
- https://go.dev/cl/311090
- https://go.dev/issue/46288
- https://go.googlesource.com/net/+/37e1c6afe02340126705deced573a85ab75209d7
- https://groups.google.com/g/golang-announce/c/wPunbCPkWUg
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM
- https://pkg.go.dev/vuln/GO-2021-0238