CVE-2018-17143 json
golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer
published 2018-09-17 8 y ago modified 2026-06-17 4 mo ago also GHSA-fcf9-6fv2-fc5v , GO-2022-0193 , EUVD-2022-3747
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
The html package (aka x/net/html) through 2018-09-17 in Go mishandles <template><tBody><isindex/action=0>, leading to a "panic: runtime error" in inBodyIM in parse.go during an html.Parse call.
Patch / fix
- go golang.org/x/net 0.0.0-20180921000356-2f5d2388922f
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-17143 updated cvss 5.3
golang-org-x-net-html: Runtime panic in html.Parse() via crafted html
-
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.77% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/golang/go/issues/27704 referenced PoC, tagged "exploit" by a source, unverified
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-20180921000356-2f5d2388922f |
0.0.0-20180921000356-2f5d2388922f |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
go-review.googlesource.com
/c/net/+/136575
web, patch, vendor-advisory
-
go.googlesource.com
/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908
web, patch
-
github.com
/golang/go/issues/27704
web, exploit, third-party-advisory
-
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
-
nvd.nist.gov
/vuln/detail/CVE-2018-17143
advisory
-
github.com
/golang/go
package
-
go.dev
/issue/27704
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-2022-0193
web
Sources
- CVE List CVE-2018-17143
- GitHub Advisory GHSA-fcf9-6fv2-fc5v
- NVD CVE-2018-17143
- OSV GO-2022-0193
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.