bodil/sized-chunks · Security
Array size is not checked in sized-chunks
- GHSA ID
- GHSA-mp6f-p9gp-vpj9
- CVE ID
- CVE-2020-25792
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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().
CWEs
- CWE-129 · Improper Validation of Array Index
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25792 ↗
- https://github.com/bodil/sized-chunks/issues/11 ↗
- https://rustsec.org/advisories/RUSTSEC-2020-0041.html ↗
- https://github.com/bodil/sized-chunks/commit/3ae48bd463c1af41c24b96b84079946f51f51e3c ↗
- https://github.com/bodil/sized-chunks/commit/99e593c3037438db478256a1f3101371a69cbd3f ↗
- https://github.com/advisories/GHSA-mp6f-p9gp-vpj9 ↗