GO-2021-0078
Panic when parsing malformed HTML in golang.org/x/net/html
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2018-17075
- Alias
- 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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · golang.org/x/net | introduced 0, fixed 0.0.0-20180816102801-aaf60122140d |
Références
- https://go.dev/cl/123776 FIX
- https://go.googlesource.com/net/+/aaf60122140d3fcf75376d319f0554393160eb50 FIX
- https://go.dev/issue/27016 REPORT
- https://bugs.chromium.org/p/chromium/issues/detail?id=829668 WEB
- https://go-review.googlesource.com/c/net/+/94838/9/html/parse.go#1906 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |