CVE-2018-17848
golang.org/x/net/html Improper Validation of Array Index vulnerability
Record from NVD · Published October 1, 2018
golang.org/x/net/html is fixed in 0.0.0-20190125002852-4b62a64f59f7 (Go Modules)
The html package (aka x/net/html) through 2018-09-25 in Go mishandles <math><template><mn><b></template>, leading to a "panic: runtime error" (index out of range) in (*insertionModeStack).pop in node.go, called from inHeadIM, during an html.Parse call.
EPSS 2.23% · 83.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| golang.org/x/net/html | Go Modules | 0.0.0-20190125002852-4b62a64f59f7 |
| golang.org/x/net | Go Modules | 0.0.0-20190125002852-4b62a64f59f7 |
| hey | Wolfi | 0.1.4-r3 |
| hey | Chainguard | 0.1.4-r3 |
| net | golang | 2018-09-25 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| golang | net | 0 |
| fedoraproject | fedora | 29, 28 |
Timeline
- Oct 1, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-17848
vulnetix vdb fixes CVE-2018-17848
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-17848/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/golang/go/issues/27846 discussion
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/ technical
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/ technical