The html package (aka x/net/html) through 2018-09-17 in Go mishandles…
Priority LOW 37CWE-476Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-476.
Summary
The html package (aka x/net/html) through 2018-09-17 in Go mishandles <math><template><mo><template>, leading to a "panic: runtime error" in parseCurrentToken in parse.go during an html.Parse call.
Why it matters now
EPSS 0.02377 83rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed golang.org/x/net (Go): 0.0.0-20180925071336-cf3bd585ca2a
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | golang.org/x/net (Go) | before 0.0.0-20180925071336-cf3bd585ca2a | 0.0.0-20180925071336-cf3bd585ca2a | Patch available | GHSA-2wp2-chmh-r934 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- golang.org/x/net (Go) Vendor— Affected before 0.0.0-20180925071336-cf3bd585ca2a Fixed in 0.0.0-20180925071336-cf3bd585ca2a Patch available GHSA-2wp2-chmh-r934
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:net:*:*:*:*:*:*:*:* | up to 2018-09-17 | Vulnerable | Go standard library |
| cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* | 28 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 29 | Vulnerable | Fedoraproject |
- cpe:2.3:a:golang:net:*:*:*:*:*:*:*:* Versions up to 2018-09-17 Vulnerable ·Go standard library
- cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* Versions 28 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-2wp2-chmh-r934 golang.org/x/net (Go) Fixed in 0.0.0-20180925071336-cf3bd585ca2a Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 17 products
- Red Hat Ceph Storage 2
- Red Hat Ceph Storage 3
- Red Hat Enterprise Linux 7
- Red Hat OpenShift Container Platform 3.10
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 3.2
- Red Hat OpenShift Container Platform 3.3
- Red Hat OpenShift Container Platform 3.4
- Red Hat OpenShift Container Platform 3.5
- Red Hat OpenShift Container Platform 3.6
- Red Hat OpenShift Container Platform 3.7
- Red Hat OpenShift Container Platform 3.9
- Red Hat OpenShift Enterprise 3.0
- Red Hat OpenShift Enterprise 3.1
- Red Hat OpenStack Platform 8 (Liberty) Operational Tools
- Red Hat OpenStack Platform 9 (Mitaka) Operational Tools
- Red Hat Storage 3
Timeline
- 2026-10-02 Threatist record created from CVE-2018-17142
- 2026-10-03 Alias added: GHSA-2wp2-chmh-r934
References
Advisory 3
Other 7
- https://github.com/golang/go
- https://go.dev/cl/136875
- https://go.dev/issue/27702
- https://go.googlesource.com/net/+/cf3bd585ca2a5a21b057abd8be7eea2204af89d0
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK
- https://pkg.go.dev/vuln/GO-2022-0192
Sources
- CVE-2018-17142 · CVE Program
- CVE-2018-17142 · NVD
- FIRST EPSS
- GHSA-2wp2-chmh-r934 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-17142 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences