Skip to content
OpenAdvisories
High · 7.5 CVE-2018-17846 EUVD-2023-2602GHSA-vfw5-hrgq-h5wfGO-2020-0014

x/net/html Vulnerable to DoS During HTML Parsing

Published Oct 1, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS golang-golang-x-net-dev No fix yet —
Ubuntu Pro 18.04 LTS golang-golang-x-net-dev No fix yet —
Ubuntu Pro 16.04 LTS golang-golang-x-net-dev No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go golang.org/x/net < 0.0.0-20190125091013-d26f9f9a57f3 0.0.0-20190125091013-d26f9f9a57f3 GHSA-vfw5-hrgq-h5wf

Advisories 1

References