Vulnerability in Rust-lang Cargo
CVE-2023-38497
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…
EPSS: 0.057 (90.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N.
Affected products
- Rust-lang Cargo — versions < 0.72.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/rust-lang/cargo/security/advisories/GHSA-j3xp-wfr4-hx87 (x_refsource_CONFIRM)
- https://github.com/rust-lang/cargo/pull/12443 (x_refsource_MISC)
- https://github.com/rust-lang/cargo/commit/d78bbf4bde3c6b95caca7512f537c6f9721426ff (x_refsource_MISC)
- https://en.wikipedia.org/wiki/Umask (x_refsource_MISC)
- https://github.com/rust-lang/wg-security-response/tree/main/patches/CVE-2023-38497 (x_refsource_MISC)
- https://www.rust-lang.org/policies/security (x_refsource_MISC)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
Frequently asked questions
- What is CVE-2023-38497?
- CVE-2023-38497 is a high-severity vulnerability in Rust-lang Cargo, classified under Insecure Preserved Inherited Permissions. CVSS score: 7.8/10. Published 2023-08-04.
- How severe is CVE-2023-38497?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2023-38497 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.