GO-2021-0078
Dashboard / Vulnerabilities / GO-2021-0078
GO-2021-0078
Published: 14 Apr 2021Last Modified: 20 May 2024
Aliases:
Summary: Panic when parsing malformed HTML in golang.org/x/net/html
Details: 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.
References: https://go.dev/cl/123776, https://go.googlesource.com/net/+/aaf60122140d3fcf75376d319f0554393160eb50, https://go.dev/issue/27016, https://bugs.chromium.org/p/chromium/issues/detail?id=829668, https://go-review.googlesource.com/c/net/+/94838/9/html/parse.go#1906
Affected packages
Package
Name: golang.org/x/net
Purl: pkg:golang/golang.org/x/net
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.0.0-20180816102801-aaf60122140d
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
