GHSA-mp6f-p9gp-vpj9
Array size is not checked in sized-chunks
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| crates.io | sized-chunks | < 0.6.3 | 0.6.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
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().
References
External links from the advisory. They lead to third-party sites.
- 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