CVE-2018-17848
At a glance Severity Not available EPSS EPSS 2.23 % · percentile 83 (2026-10-27) State PUBLISHED Published 2018-10-01 Updated 2024-08-05 Assigner mitre NVD status Modified
Description 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.
Scores Version Score Vector Scored by CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD · nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P NVD · nvd@nist.gov (Primary)
Weaknesses (CWE)
Advisories GHSA-4r78-hx75-jjj2 — golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory BufferGHSA-mv93-wvcp-7m7r — golang.org/x/net/html Improper Validation of Array Index vulnerabilityGO-2022-0197 — Panic when parsing certain inputs in golang.org/x/net/html
European references
CERT-FR advisories
Affected configurations (NVD CPE) cpe:2.3:a:golang:net:*:*:*:*:*:*:*:* ≤ 2018-09-25cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
Affected products Product Versions affected n/a
References
Sources