x/net/html Vulnerable to DoS During HTML Parsing
High severity
GitHub Reviewed
Published
Sep 25, 2023
to the GitHub Advisory Database
•
Updated May 20, 2024
Package
Affected versions
< 0.0.0-20190125091013-d26f9f9a57f3
Patched versions
0.0.0-20190125091013-d26f9f9a57f3
Description
Published to the GitHub Advisory Database
Sep 25, 2023
Reviewed
Sep 25, 2023
Last updated
May 20, 2024
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 anhtml.Parse
call becauseinSelectIM
andinSelectInTableIM
do not comply with a specification.References