GO-2021-0078

Panic when parsing malformed HTML in golang.org/x/net/html

At a glance

Published
Updated
CVE
CVE-2018-17075
Aliases
GHSA-5p4h-3377-7w67

Description

The HTML parser does not properly handle "in frameset" insertion mode, and can be made to panic when operating on malformed HTML that contains <template> tags. If operating on user input, this may be a vector for a denial of service attack.

Affected packages

PackageVersions
Go · golang.org/x/netintroduced 0, fixed 0.0.0-20180816102801-aaf60122140d

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database