GO-2022-0192
Incorrect parsing of nested templates in golang.org/x/net/html
At a glance
- Published
- Updated
- CVE
- CVE-2018-17142
- Aliases
- GHSA-2wp2-chmh-r934
Description
The Parse function can panic on some invalid inputs. For example, the Parse function panics on the input "<math><template><mo><template>".
Affected packages
| Package | Versions |
|---|---|
| Go · golang.org/x/net | introduced 0, fixed 0.0.0-20180925071336-cf3bd585ca2a |
References
- https://go.dev/cl/136875 FIX
- https://go.googlesource.com/net/+/cf3bd585ca2a5a21b057abd8be7eea2204af89d0 FIX
- https://go.dev/issue/27702 REPORT
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |