7.5high

CVE-2018-17075

golang.org/x/net/html NULL Pointer Dereference vulnerability

Also known as GHSA-5p4h-3377-7w67, GO-2021-0078

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.8%
percentile 86%
Public exploits
0
none known

Summary

The html package (aka x/net/html) before 2018-07-13 in Go mishandles "in frameset" insertion mode, leading to a "panic: runtime error" for html.Parse of <template><object>, <template><applet>, or <template><marquee>. This is related to HTMLTreeBuilder.cpp in WebKit.

Exploit prediction (EPSS)

2.77% probability of exploitation in the next 30 days, higher than 86% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

EcosystemPackageAffectedFixed in
gogolang.org/x/net
<0.0.0-20180816102801-aaf60122140d
0.0.0-20180816102801-aaf60122140d

Classification

Weakness

References

  • github.com /golang/net/commit/aaf60122140d3fcf75376d319f0554393160eb50 · x_refsource_MISC, x_transferred
  • bugs.chromium.org /p/chromium/issues/detail?id=829668 · x_refsource_MISC, x_transferred
  • github.com /golang/go/issues/27016 · x_refsource_MISC, x_transferred
  • lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMV · vendor-advisory, x_refsource_FEDORA, x_transferred
  • lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRA · vendor-advisory, x_refsource_FEDORA, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-17075 · advisory
  • github.com /golang/go · package
  • go-review.googlesource.com /c/net/+/94838/9/html/parse.go#1906 · web
  • go.dev /cl/123776 · web
  • go.dev /issue/27016 · web
  • go.googlesource.com /net/+/aaf60122140d3fcf75376d319f0554393160eb50 · web
  • lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVC · web
  • lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABT · web
  • pkg.go.dev /vuln/GO-2021-0078 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.