Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-36086

8.4 · HIGH
Published Sep 7, 2022 rust-osdev CWE-119 EPSS 0.76% (53th pctl)

Overview

CVE-2022-36086 is a high-severity vulnerability affecting rust-osdev linked-list-allocator. It was published on September 7, 2022 and has a CVSS 3.1 base score of 8.4 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.4, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

linked_list_allocator is an allocator usable for no_std systems. Prior to version 0.10.2, the heap initialization methods were missing a minimum size check for the given heap size argument. This could lead to out-of-bound writes when a heap was initialized with a size smaller than `3 * size_of::<usize>` because of metadata write operations. 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. Version 0.10.2 contains a patch for the issue. As a workaround, ensure that the heap is only initialized with a size larger than `3 * size_of::<usize>` and that the `Heap::extend` method is only called with sizes larger than `2 * size_of::<usize>()`. Also, ensure that the total heap size is (and stays) a multiple of `2 * size_of::<usize>()`.

Remediation

Check the references section for vendor advisories and patches from rust-osdev. Update linked-list-allocator to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
rust-osdev linked-list-allocator >= 0, < 0.10.2 Affected

Frequently Asked Questions

What is CVE-2022-36086?

CVE-2022-36086 is a high-severity vulnerability affecting rust-osdev linked-list-allocator. It was published on September 7, 2022 and has a CVSS 3.1 base score of 8.4 (HIGH).

How severe is CVE-2022-36086?

This vulnerability has a CVSS 3.1 base score of 8.4, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-36086?

Check the references section for vendor advisories and patches from rust-osdev. Update linked-list-allocator to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-36086?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-36086 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.