The html package (aka x/net/html) through 2018-09-25 in Go mishandles…
Priority LOW 37CWE-119Published · 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
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
The html package (aka x/net/html) through 2018-09-25 in Go mishandles <svg><template><desc><t><svg></template>, leading to a "panic: runtime error" (index out of range) in (*nodeStack).pop in node.go, called from (*parser).clearActiveFormattingElements, during an html.Parse call.
Why it matters now
EPSS 0.02364 83rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial golang.org/x/net (Go): 0.0.0-20190125002852-4b62a64f59f7Red Hat: 2 without a fix
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-20190125002852-4b62a64f59f7 | 0.0.0-20190125002852-4b62a64f59f7 | Patch available | GHSA-4r78-hx75-jjj2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- golang.org/x/net (Go) Vendor— Affected before 0.0.0-20190125002852-4b62a64f59f7 Fixed in 0.0.0-20190125002852-4b62a64f59f7 Patch available GHSA-4r78-hx75-jjj2
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:net:*:*:*:*:*:*:*:* | up to 2018-09-25 | 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-25 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-4r78-hx75-jjj2 golang.org/x/net (Go) Fixed in 0.0.0-20190125002852-4b62a64f59f7 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
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-17847
- 2026-10-03 Alias added: GHSA-4r78-hx75-jjj2
References
Advisory 3
Other 7
- https://github.com/golang/go
- https://go.dev/cl/159397
- https://go.dev/issue/27846
- https://go.googlesource.com/net/+/4b62a64f59f73840b9ab79204c94fee61cd1ba2c
- 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-0197
Sources
- CVE-2018-17847 · CVE Program
- CVE-2018-17847 · NVD
- FIRST EPSS
- GHSA-4r78-hx75-jjj2 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-17847 · 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