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-36114

4.8 · MEDIUM
Published Sep 14, 2022 rust-lang CWE-400 EPSS 0.83% (55th pctl)

Overview

CVE-2022-36114 is a medium-severity vulnerability affecting rust-lang cargo. It was published on September 14, 2022 and has a CVSS 3.1 base score of 4.8 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.8, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

Cargo is a package manager for the rust programming language. It was discovered that Cargo did not limit the amount of data extracted from compressed archives. An attacker could upload to an alternate registry a specially crafted package that extracts way more data than its size (also known as a "zip bomb"), exhausting the disk space on the machine using Cargo to download the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you want to be protected from attacks, as it's possible to perform the same attacks with build scripts and procedural macros. The vulnerability is present in all versions of Cargo. Rust 1.64, to be released on September 22nd, will include a fix for it. Since the vulnerability is just a more limited way to accomplish what a malicious build scri

Remediation

Check the references section for vendor advisories and patches from rust-lang. Update cargo 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-lang cargo >= 0, < 0.65.0 Affected

Frequently Asked Questions

What is CVE-2022-36114?

CVE-2022-36114 is a medium-severity vulnerability affecting rust-lang cargo. It was published on September 14, 2022 and has a CVSS 3.1 base score of 4.8 (MEDIUM).

How severe is CVE-2022-36114?

This vulnerability has a CVSS 3.1 base score of 4.8, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

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

Check the references section for vendor advisories and patches from rust-lang. Update cargo 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-36114?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-36114 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.