#VU78930 Incorrect default permissions in Cargo - CVE-2023-38497
Published: August 3, 2023 / Updated: August 4, 2023
Vulnerability identifier: #VU78930
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2023-38497
CWE-ID: CWE-276
Exploitation vector: Local access
Exploit availability:
Public exploit is available
Vulnerable software:
Cargo
Cargo
Software vendor:
The Rust Programming Language
The Rust Programming Language
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to Cargo does not respect the umask when extracting crate archives on UNIX-like systems. A local user can change the source code compiled and executed by the current user.
Remediation
Install updates from vendor's website.