GO-2021-0242
Panic on inputs with large exponents in math/big
At a glance
- Published
- Updated
- CVE
- CVE-2021-33198
- Aliases
- BIT-golang-2021-33198
Description
Rat.SetString and Rat.UnmarshalText may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.15.13, introduced 1.16.0-0, fixed 1.16.5 |
References
- https://go.dev/cl/316149 FIX
- https://go.googlesource.com/go/+/6c591f79b0b5327549bd4e94970f7a279efb4ab0 FIX
- https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI WEB
- https://go.dev/issue/45910 REPORT
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |