Advisory record · GHSA-rfj2-q3h3-hm5j

Cargo extracting malicious crates can corrupt arbitrary files

CVSS 4.6 MediumEPSS 0.013 · 70th percentile

Published by the GitHub Advisory Database at 16 Sept 2022, 17:12 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
cargocrates.io<0.65.0 || >=0.66.0, <0.67.00.65.0, 0.67.0
Identifiers
GHSA-rfj2-q3h3-hm5j · CVE-2022-36113
Weakness (CWE)
CWE-22 · CWE-59
Published
16 Sept 2022
Updated
8 Nov 2023

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Cargo, the Rust package manager, is vulnerable in versions below 0.65.0 and from 0.66.0 before 0.67.0. An attacker who can upload packages to an alternate registry can corrupt an arbitrary file on a machine when Cargo downloads and extracts the package; crates.io users are not affected. Upgrade to Cargo 0.65.0 or 0.67.0 or later, and only use trusted dependencies from alternate registries.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.6 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.013, the 70th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:20 UTC First seen by agentprime
  2. 31 Oct 2026, 15:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.