high7.5
CVE-2018-17846
x/net/html Vulnerable to DoS During HTML Parsing
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | golang.org/x/net | < 0.0.0-20190125091013-d26f9f9a57f3 | 0.0.0-20190125091013-d26f9f9a57f3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Golang | Net | through 2018-09-25 |
| Fedoraproject | Fedora | Versions 28, 29 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/golang/go/issues/27842
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/
- https://github.com/advisories/GHSA-vfw5-hrgq-h5wf
- https://nvd.nist.gov/vuln/detail/CVE-2018-17846
- https://go-review.googlesource.com/c/137275
- https://go.dev/issue/27842
- https://go.googlesource.com/net/+/d26f9f9a57f3fab6a695bec0d84433c2c50f8bbf
- https://pkg.go.dev/vuln/GO-2020-0014
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK