Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. linked_list_allocator
  4. ›
  5. CVE-2022-36086

CVE-2022-36086: linked_list_allocator vulnerable to out-of-bound writes on `Heap` initialization and `Heap::extend`

September 16, 2022

What kind of vulnerability is it? Who is impacted?

This vulnerability impacts all the initialization functions on the Heap and LockedHeap types, including Heap::new, Heap::init, Heap::init_from_slice, and LockedHeap::new. It also affects multiple uses of the Heap::extend method.

References

  • github.com/advisories/GHSA-xg8p-34w2-j49j
  • github.com/rust-osdev/linked-list-allocator
  • github.com/rust-osdev/linked-list-allocator/commit/013b0758643943e8df5b17bbb495460ff47e8bbf
  • github.com/rust-osdev/linked-list-allocator/security/advisories/GHSA-xg8p-34w2-j49j
  • nvd.nist.gov/vuln/detail/CVE-2022-36086
  • rustsec.org/advisories/RUSTSEC-2022-0063.html

Code Behaviors & Features

Detect and mitigate CVE-2022-36086 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.10.2

Fixed versions

  • 0.10.2

Solution

Upgrade to version 0.10.2 or above.

Impact 8.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-1284: Improper Validation of Specified Quantity in Input

Source file

cargo/linked_list_allocator/CVE-2022-36086.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:15 +0000.