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

CVE-2020-25796: Unaligned references in sized-chunks

August 25, 2021

An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the InlineArray implementation, an unaligned reference may be generated for a type that has a large alignment requirement.

References

  • github.com/advisories/GHSA-fqpx-cq8x-9wp4
  • github.com/bodil/sized-chunks
  • github.com/bodil/sized-chunks/issues/11
  • nvd.nist.gov/vuln/detail/CVE-2020-25796
  • rustsec.org/advisories/RUSTSEC-2020-0041.html

Code Behaviors & Features

Detect and mitigate CVE-2020-25796 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-25796.yml

Spotted a mistake? Edit the file on GitLab.

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

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