Live threats

All CVEs / Golang

CVE-2018-17075Golang Net

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Sep 16, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Net.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go golang.org/x/net < 0.0.0-20180816102801-aaf60122140d 0.0.0-20180816102801-aaf60122140d go get golang.org/x/net@v0.0.0-20180816102801-aaf60122140d
Go golang.org/x/net < 0.0.0-20180816102801-aaf60122140d 0.0.0-20180816102801-aaf60122140d go get golang.org/x/net@v0.0.0-20180816102801-aaf60122140d

Per OSV / GitHub Advisories (GHSA-5p4h-3377-7w67, GO-2021-0078). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golangnet≤ 2018-07-12
fedoraprojectfedora28
fedoraprojectfedora29

Official sources

References

Links published by the sources. Open them with care.