GitHub Advisoryadvisory · Go

GHSA-vfw5-hrgq-h5wf x/net/html Vulnerable to DoS During HTML Parsing

HIGH Published 2023-09-25 Modified 2024-05-20 Official page ↗
Aliases
CVE-2018-17846
Ecosystem
Go
Packages
golang.org/x/net
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-835
Reviewed
2023-09-25

Affected packages

• Go golang.org/x/net: < 0.0.0-20190125091013-d26f9f9a57f3 → fixed in 0.0.0-20190125091013-d26f9f9a57f3

Description

The html package (aka x/net/html) through 2018-09-25 in Go mishandles ``, leading to an infinite loop during an `html.Parse` call because `inSelectIM` and `inSelectInTableIM` do not comply with a specification.

Related

Alias · CVE (1)

  • CVE-2018-17846 The html package (aka x/net/html) through 2018-09-25 in Go mishandles <table><math><select><mi><select></table>, leading to an infinite… vulnerability

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References