cve.bz

CVE-2018-17848 Improper Validation of Array Index

7.5 highExploit referenceEPSS 2.2%Fix available

High (7.5). EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/net 0.0.0-20190125002852-4b62a64f59f7.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-129 Improper Validation of Array Index
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-17848 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-17848?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-17848?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-17848 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:netthrough 2018-09-25
fedoraproject:fedora28
fedoraproject:fedora29

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4r78-hx75-jjj2Gogolang.org/x/net<0.0.0-20190125002852-4b62a64f59f70.0.0-20190125002852-4b62a64f59f7
GHSA-mv93-wvcp-7m7rGogolang.org/x/net<0.0.0-20190125002852-4b62a64f59f70.0.0-20190125002852-4b62a64f59f7
GO-2022-0197Gogolang.org/x/net<0.0.0-20190125002852-4b62a64f59f70.0.0-20190125002852-4b62a64f59f7

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ceph Storage 2grafanaNot affected
Red Hat Ceph Storage 3grafanaNot affected
Red Hat Enterprise Linux 7golang-googlecode-netNot affected
Red Hat OpenShift Container Platform 3.10atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.11atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.2atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.3atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.4atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.5atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.6atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.7atomic-openshiftNot affected
Red Hat OpenShift Container Platform 3.9atomic-openshiftNot affected
Red Hat OpenShift Enterprise 3.0openshiftNot affected
Red Hat OpenShift Enterprise 3.1atomic-openshiftNot affected
Red Hat OpenStack Platform 8 (Liberty) Operational ToolsgrafanaNot affected
Red Hat OpenStack Platform 9 (Mitaka) Operational Toolsgolang-googlecode-netWill not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational ToolsgrafanaNot affected
Red Hat Storage 3grafanaWill not fix
Red Hat Storage 3heketiNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-17848.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON