CVE-2018-17846Golang Net
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Net We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Oct 1, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Net.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/net |
< 0.0.0-20190125091013-d26f9f9a57f3 |
0.0.0-20190125091013-d26f9f9a57f3 |
go get golang.org/x/net@v0.0.0-20190125091013-d26f9f9a57f3 |
| Go | golang.org/x/net |
< 0.0.0-20190125091013-d26f9f9a57f3 |
0.0.0-20190125091013-d26f9f9a57f3 |
go get golang.org/x/net@v0.0.0-20190125091013-d26f9f9a57f3 |
Per OSV / GitHub Advisories (GHSA-vfw5-hrgq-h5wf, GO-2020-0014). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | net | ≤ 2018-09-25 |
| fedoraproject | fedora | 28 |
| fedoraproject | fedora | 29 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org