GitHub Advisory Database
GHSA-mp6f-p9gp-vpj9
Array size is not checked in sized-chunks
Details
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with pair().
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | sized-chunks | All versions before 0.6.3 (fixed in 0.6.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25792
- https://github.com/bodil/sized-chunks/issues/11
- https://github.com/bodil/sized-chunks/commit/3ae48bd463c1af41c24b96b84079946f51f51e3c
- https://github.com/bodil/sized-chunks/commit/99e593c3037438db478256a1f3101371a69cbd3f
- https://github.com/bodil/sized-chunks
- https://rustsec.org/advisories/RUSTSEC-2020-0041.html