> CVE-2023-38497 [HIGH]

« BACK_TO_HOME
PUBLISHED
2023-08-04 16:15
MODIFIED
2024-11-21 08:13
CVSS_SCORE V3
7.9
EPSS (Prob. Exploit)
0.70%
Top 46.2%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-03 OSV 🔗 2026-03-01

> DESCRIPTION

Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.72.2, bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on UNIX-like systems. If the user downloaded a crate containing files writeable by any local user, another local user could exploit this to change the source code compiled and executed by the current user. To prevent existing cached extractions from being exploitable, the Cargo binary version 0.72.2 included in Rust 1.71.1 or later will purge caches generated by older Cargo versions automatically. As a workaround, configure one's system to prevent other local users from accessing the Cargo directory, usually located in `~/.cargo`.

> AFFECTED_PRODUCTS

Fedoraproject - Fedora
Version: 38
Rust-Lang - Cargo
< 0.72.2

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-j3xp-wfr4-hx87 HIGH

Cargo not respecting umask when extracting crate archives

AFFECTED PACKAGES:
RUST / cargo
<= 0.72.1
Fixed in: 0.72.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Cargo not respecting umask when extracting crate archives

AFFECTED PACKAGES:
Unknown / Unknown
26 versions affected
ALIASES:
GHSA-j3xp-wfr4-hx87

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/08/2023 16:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:42
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME