Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ash
  4. ›
  5. GHSA-qj69-c89v-jwq2

GHSA-qj69-c89v-jwq2: Reading on uninitialized memory may cause UB ( `util::read_spv()` )

June 16, 2022

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation.

Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.

References

  • github.com/MaikKlein/ash
  • github.com/MaikKlein/ash/issues/354
  • github.com/advisories/GHSA-qj69-c89v-jwq2
  • rustsec.org/advisories/RUSTSEC-2021-0090.html

Code Behaviors & Features

Detect and mitigate GHSA-qj69-c89v-jwq2 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.33.1

Fixed versions

  • 0.33.1

Solution

Upgrade to version 0.33.1 or above.

Source file

cargo/ash/GHSA-qj69-c89v-jwq2.yml

Spotted a mistake? Edit the file on GitLab.

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

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