Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/net
  4. ›
  5. CVE-2018-17075

CVE-2018-17075: NULL Pointer Dereference

May 13, 2022 (updated February 24, 2023)

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 , , or . This is related to HTMLTreeBuilder.cpp in WebKit.

References

  • bugs.chromium.org/p/chromium/issues/detail?id=829668
  • github.com/advisories/GHSA-5p4h-3377-7w67
  • github.com/golang/go/issues/27016
  • github.com/golang/net/commit/aaf60122140d3fcf75376d319f0554393160eb50
  • go-review.googlesource.com/c/net/+/94838/9/html/parse.go
  • go.dev/cl/123776
  • go.dev/issue/27016
  • go.googlesource.com/net/+/aaf60122140d3fcf75376d319f0554393160eb50
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/
  • nvd.nist.gov/vuln/detail/CVE-2018-17075
  • pkg.go.dev/vuln/GO-2021-0078

Code Behaviors & Features

Detect and mitigate CVE-2018-17075 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.0-20180816102801-aaf60122140d

Fixed versions

  • 0.0.0-20180816102801-aaf60122140d

Solution

Upgrade to version 0.0.0-20180816102801-aaf60122140d or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

go/golang.org/x/net/CVE-2018-17075.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:18 +0000.