CVE-2018-17846
HIGH7.5EPSS 0.65%x/net/html Vulnerable to DoS During HTML Parsing
Published: 9/25/2023Modified: 5/20/2024
Description
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 (2)
- Go/golang.org/x/netfrom 0, < 0.0.0-20190125091013-d26f9f9a57f3
- Go/golang.org/x/netfrom 0, < 0.0.0-20190125091013-d26f9f9a57f3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-17846
- WEBhttps://github.com/golang/go/issues/27842
- WEBhttps://go.dev/issue/27842
- WEBhttps://go.googlesource.com/net/+/d26f9f9a57f3fab6a695bec0d84433c2c50f8bbf
- WEBhttps://go-review.googlesource.com/c/137275
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK
- WEBhttps://pkg.go.dev/vuln/GO-2020-0014