Skip to content
OpenAdvisories
High · 7.5 CVE-2020-25791 CVE-2020-25792CVE-2020-25793CVE-2020-25794CVE-2020-25795CVE-2020-25796EUVD-2021-1665GHSA-64gv-qg2v-vxv6GHSA-9p9m-9xww-qjcxGHSA-fqpx-cq8x-9wp4GHSA-mp6f-p9gp-vpj9GHSA-rfgg-vccr-m46mGHSA-x54v-qxxr-93qcRUSTSEC-2020-0041

Array size is not checked in sized-chunks

Published Sep 19, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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().

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-sized-chunks 0.6.5-1 —
Debian 13 rust-sized-chunks 0.6.5-1 —
Debian 12 rust-sized-chunks 0.6.5-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS rust-sized-chunks 0.3.1-1ubuntu0.1~esm1 USN-8118-1

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io sized-chunks < 0.6.3 0.6.3 GHSA-64gv-qg2v-vxv6
crates.io sized-chunks >= 0.0.0-0, < 0.6.3 0.6.3 RUSTSEC-2020-0041

Advisories 1

References