CVE-2018-17846 json
x/net/html Vulnerable to DoS During HTML Parsing
published 2018-10-01 8 y ago modified 2026-06-17 4 mo ago also GHSA-vfw5-hrgq-h5wf , GO-2020-0014 , EUVD-2023-2602
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go golang.org/x/net 0.0.0-20190125091013-d26f9f9a57f3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-17846 updated cvss 5.3
golang-org-x-net-html: infinite loop during html.Parse() via inSelectIM and inSelectInTableIM
-
Red Hat OpenStack Platform 9 (Mitaka) Operational Tools golang-googlecode-net-devel Red Hat Storage 3 grafanaaffected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 2 grafana Red Hat Ceph Storage 3 grafana Red Hat Enterprise Linux 7 golang-googlecode-net-devel Red Hat OpenShift Container Platform 3.2 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more Red Hat OpenShift Container Platform 3.3 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +6 more Red Hat OpenShift Container Platform 3.4 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +6 morenot affected: vulnerable code not present
+11 more productsfewer
Red Hat OpenShift Container Platform 3.5 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +6 more Red Hat OpenShift Container Platform 3.6 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +9 more Red Hat OpenShift Container Platform 3.7 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +10 more Red Hat OpenShift Container Platform 3.9 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +8 more Red Hat OpenShift Container Platform 3.10 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more Red Hat OpenShift Container Platform 3.11 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more Red Hat OpenShift Enterprise 3.0 openshift, openshift-node, openshift-master, openshift-clients, openshift-sdn-ovs, tuned-profiles-openshift-node Red Hat OpenShift Enterprise 3.1 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +10 more Red Hat OpenStack Platform 8 (Liberty) Operational Tools grafana Red Hat OpenStack Platform 9 (Mitaka) Operational Tools grafana Red Hat Storage 3 heketi, heketi-client, python-heketi
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.51% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | golang.org/x/net | <0.0.0-20190125091013-d26f9f9a57f3 |
0.0.0-20190125091013-d26f9f9a57f3 |
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
go.googlesource.com
/net/+/d26f9f9a57f3fab6a695bec0d84433c2c50f8bbf
web, patch
-
go-review.googlesource.com
/c/137275
web, patch
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/
vendor-advisory
-
github.com
/golang/go/issues/27842
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-17846
advisory
-
go.dev
/issue/27842
web, report
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK
web
-
pkg.go.dev
/vuln/GO-2020-0014
web
Sources
- CVE List CVE-2018-17846
- GitHub Advisory GHSA-vfw5-hrgq-h5wf
- NVD CVE-2018-17846
- OSV GO-2020-0014
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.