GO-2022-0526
Stack exhaustion when decoding certain messages in encoding/gob
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2022-30635
- Alias
- BIT-golang-2022-30635
Description
Calling Decoder.Decode on a message which contains deeply nested structures can cause a 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/417064 FIX
- https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7 FIX
- https://go.dev/issue/53615 REPORT
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |