GitHub Advisoryadvisory · crates.io
GHSA-mp6f-p9gp-vpj9 Array size is not checked in sized-chunks
HIGH
Official page ↗
- Aliases
- CVE-2020-25792
- Ecosystem
- crates.io
- Packages
- sized-chunks
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-129
- Reviewed
- 2021-08-19
Affected packages
• crates.io sized-chunks: < 0.6.3 → fixed in 0.6.3
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().
Related
Alias · CVE (1)
- CVE-2020-25792 An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. vulnerability
Weakness · CWE (1)
- CWE-129 Improper Validation of Array Index weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25792 advisory
- https://github.com/bodil/sized-chunks/issues/11 web
- https://github.com/bodil/sized-chunks/commit/3ae48bd463c1af41c24b96b84079946f51f51e3c web
- https://github.com/bodil/sized-chunks/commit/99e593c3037438db478256a1f3101371a69cbd3f web
- https://github.com/bodil/sized-chunks package
- https://rustsec.org/advisories/RUSTSEC-2020-0041.html web