GitHub Advisoryadvisory · Go

GHSA-fcf9-6fv2-fc5v golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer

HIGH Published 2022-05-13 Modified 2024-05-20 Official page ↗
Aliases
CVE-2018-17143
Ecosystem
Go
Packages
golang.org/x/net
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-119
Reviewed
2023-02-08

Affected packages

• Go golang.org/x/net: < 0.0.0-20180921000356-2f5d2388922f → fixed in 0.0.0-20180921000356-2f5d2388922f

Description

The html package (aka x/net/html) through 2018-09-17 in Go mishandles , leading to a "panic: runtime error" in inBodyIM in parse.go during an html.Parse call

Related

Alias · CVE (1)

  • CVE-2018-17143 The html package (aka x/net/html) through 2018-09-17 in Go mishandles <template><tBody><isindex/action=0>, leading to a "panic: runtime… vulnerability

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References