HIGH7.5
GHSA-vfw5-hrgq-h5wf
x/net/html Vulnerable to DoS During HTML Parsing
Quick fix
GHSA-vfw5-hrgq-h5wf — golang.org/x/net: upgrade to the fixed version with the command below.
go get golang.org/x/net@v0.0.0-20190125091013-d26f9f9a57f3Details
The html package (aka x/net/html) through 2018-09-25 in Go mishandles `<table><math><select><mi><select></table>`, leading to an infinite loop during an `html.Parse` call because `inSelectIM` and `inSelectInTableIM` do not comply with a specification.
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-20190125091013-d26f9f9a57f3Fix
go get golang.org/x/net@v0.0.0-20190125091013-d26f9f9a57f3References
- https://nvd.nist.gov/vuln/detail/CVE-2018-17846[ADVISORY]
- https://github.com/golang/go/issues/27842[WEB]
- https://go-review.googlesource.com/c/137275[WEB]
- https://go.dev/issue/27842[WEB]
- https://go.googlesource.com/net/+/d26f9f9a57f3fab6a695bec0d84433c2c50f8bbf[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-2020-0014[WEB]