7.8

CVE-2023-38497: fedoraproject fedora Insecure Preserved Inherited Permissions

CVSS: 7.8v3.1HighModified
AliasesALPINE-CVE-2023-38497SUSE-SU-2023:3251-1RHSA-2023:4634
Published 04-08-2023Last modified 13-02-2025

Vulnerability summary

CVE-2023-38497 is a high (CVSS 7.8) Insecure Preserved Inherited Permissions vulnerability in fedoraproject fedora. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 52.3% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.70%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 04-08-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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`.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.70%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

0.00 pp

From 0.70% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.70%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat37 products
  • cargo< 0:1.66.1-2.el9_2 | < 0:1.66.1-2.module+el8.8.0+19613+f0bba33b | < 0:1.58.1-1.el9_0.1 | < 0:1.58.1-1.module+el8.6.0+21522+a4bc17c1.1
  • cargo-debuginfo< 0:1.66.1-2.el9_2 | < 0:1.66.1-2.module+el8.8.0+19613+f0bba33b | < 0:1.58.1-1.el9_0.1 | < 0:1.58.1-1.module+el8.6.0+21522+a4bc17c1.1
  • cargo-doc< 0:1.58.1-1.el9_0.1 | < 0:1.58.1-1.module+el8.6.0+21522+a4bc17c1.1
  • clippy< 0:1.66.1-2.el9_2 | < 0:1.66.1-2.module+el8.8.0+19613+f0bba33b | < 0:1.58.1-1.el9_0.1 | < 0:1.58.1-1.module+el8.6.0+21522+a4bc17c1.1
  • clippy-debuginfo< 0:1.66.1-2.el9_2 | < 0:1.66.1-2.module+el8.8.0+19613+f0bba33b | < 0:1.58.1-1.el9_0.1 | < 0:1.58.1-1.module+el8.6.0+21522+a4bc17c1.1
Opensuse3 products
  • rust1.71&distro=openSUSE Leap 15.4< 1.71.1-150400.9.6.1
  • rust1.71&distro=openSUSE Leap 15.5< 1.71.1-150400.9.6.1
  • rust1.71&distro=openSUSE Tumbleweed< 1.71.1-1.1
Ubuntu3 products
  • cargo< 0.47.0-1~exp1ubuntu1~16.04.1+esm1 | < 0.66.0+ds0ubuntu0.libgit2-0ubuntu0.18.04.1~esm1 | < 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1 | < 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2+esm1
  • rust-cargoAll versions (No fix recorded) | < 0.57.0-1ubuntu0.1~esm1
  • rustc< 1.71.1+dfsg0ubuntu2-0ubuntu1
Debian2 products
  • cargoAll versions (No fix recorded)
  • rust-cargoAll versions (No fix recorded) | < 0.76.0-1
Suse2 products
  • rust1.71&distro=SUSE Linux Enterprise Module for Development Tools 15 SP4< 1.71.1-150400.9.6.1
  • rust1.71&distro=SUSE Linux Enterprise Module for Development Tools 15 SP5< 1.71.1-150400.9.6.1
Alpine1 product
  • rust< 1.71.1-r0
Crates.Io1 product
  • cargo< 0.72.2
Fedoraproject1 product
Rust-lang1 product

9 vendors · 51 products

References

35 links
Show all 35 references