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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | golang.org/x/net | < 0.0.0-20190125091013-d26f9f9a57f3 | 0.0.0-20190125091013-d26f9f9a57f3 | GHSA-vfw5-hrgq-h5wf |
Advisories 1
- WID-SEC-2022-0510 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
References
- https://github.com/golang/go/issues/27842
- FEDORA-2019-07d447a1d3 vendor-advisory
- FEDORA-2019-07e8e806e0 vendor-advisory