GO-2022-0523
Stack exhaustion when unmarshaling certain documents in encoding/xml
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2022-30633
- Alias
- BIT-golang-2022-30633
Description
Unmarshaling an XML document into a Go struct which has a nested field that uses the 'any' field tag can panic due to stack exhaustion.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.17.12, introduced 1.18.0-0, fixed 1.18.4 |
Références
- https://go.dev/cl/417061 FIX
- https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08 FIX
- https://go.dev/issue/53611 REPORT
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |