x/net/html Vulnerable to DoS During HTML Parsing
Date: 2023-09
Affected: go/golang.org/x/net
Attack vector: dos
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2018-17846
CWE: CWE-835
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):