Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. memoffset
  4. ›
  5. CVE-2019-15553

CVE-2019-15553: Exposure of uninitialized memory in memoffset

August 25, 2021 (updated June 13, 2023)

Affected versions of this crate caused traps and/or memory unsafety by zero-initializing references. They also could lead to uninitialized memory being dropped if the field for which the offset is requested was behind a deref coercion, and that deref coercion caused a panic. The flaw was corrected by using MaybeUninit.

References

  • github.com/Gilnaa/memoffset
  • github.com/Gilnaa/memoffset/issues/9
  • github.com/advisories/GHSA-rh89-x75f-rh3c
  • nvd.nist.gov/vuln/detail/CVE-2019-15553
  • rustsec.org/advisories/RUSTSEC-2019-0011.html

Code Behaviors & Features

Detect and mitigate CVE-2019-15553 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.5.0

Fixed versions

  • 0.5.0

Solution

Upgrade to version 0.5.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-908: Use of Uninitialized Resource

Source file

cargo/memoffset/CVE-2019-15553.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:14 +0000.