CVE-2023-38497

CVSS 3.1 Score 7.3 of 10 (high)

Details

Published Aug 4, 2023
Updated: Aug 17, 2023
CWE ID 732
CWE ID 278

Summary

CVE-2023-38497 is a vulnerability affecting Cargo, the Rust package manager, before version 0.72.2. During the compilation process, Cargo extracts crate archives, but prior to version 0.72.2, it did not respect the umask settings on UNIX-like systems. This issue allows local users with write access to downloaded crates to potentially alter the source code being compiled and executed by other users. To mitigate this risk, Rust 1.71.1 and later versions automatically purge caches produced by older Cargo versions. As a temporary solution, users can configure their systems to deny access to the Cargo directory, typically found in `~/.cargo`, to unauthorized users.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Affected Products

  • Fedora Operating System

Affected Vendors

  • Fedora Project