Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. sized-chunks
  4. ›
  5. CVE-2020-25793

CVE-2020-25793: Array size is not checked in sized-chunks

August 25, 2021

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 From<InlineArray<A, T».

References

  • github.com/advisories/GHSA-64gv-qg2v-vxv6
  • github.com/bodil/sized-chunks
  • github.com/bodil/sized-chunks/issues/11
  • nvd.nist.gov/vuln/detail/CVE-2020-25793
  • rustsec.org/advisories/RUSTSEC-2020-0041.html

Code Behaviors & Features

Detect and mitigate CVE-2020-25793 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.3

Fixed versions

  • 0.6.3

Solution

Upgrade to version 0.6.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-129: Improper Validation of Array Index

Source file

cargo/sized-chunks/CVE-2020-25793.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.