GitHub Advisoryadvisory · Go
GHSA-2wp2-chmh-r934 golang.org/x/net/html NULL Pointer Dereference vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2018-17142
- 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-476
- Reviewed
- 2023-02-08
Affected packages
• Go golang.org/x/net: < 0.0.0-20180925071336-cf3bd585ca2a → fixed in 0.0.0-20180925071336-cf3bd585ca2a
Description
The html package (aka x/net/html) through 2018-09-17 in Go mishandles , leading to a "panic: runtime error" in parseCurrentToken in parse.go during an html.Parse call
Related
Alias · CVE (1)
- CVE-2018-17142 The html package (aka x/net/html) through 2018-09-17 in Go mishandles <math><template><mo><template>, leading to a "panic: runtime error"… vulnerability
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-17142 advisory
- https://github.com/golang/go/issues/27702 web
- https://github.com/golang/go package
- https://go.dev/cl/136875 web
- https://go.dev/issue/27702 web
- https://go.googlesource.com/net/+/cf3bd585ca2a5a21b057abd8be7eea2204af89d0 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK web
- https://pkg.go.dev/vuln/GO-2022-0192 web