GitHub Advisoryadvisory · crates.io

GHSA-9p9m-9xww-qjcx Array size is not checked in sized-chunks

HIGH Published 2021-08-25 Modified 2021-08-19 Official page ↗
Aliases
CVE-2020-25791
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 unit().

Related

Alias · CVE (1)

  • CVE-2020-25791 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