#VU67717 UNIX symbolic link following in Cargo - CVE-2022-36113
Published: September 28, 2022
Vulnerability identifier: #VU67717
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-36113
CWE-ID: CWE-61
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Cargo
Cargo
Software vendor:
The Rust Programming Language
The Rust Programming Language
Description
The vulnerability allows a remote attacker to corrupt arbitrary files on the system.
The vulnerability exists due to a symlink following issue. A remote attacker can add a malicious ".cargo-ok" symbolic link into the package, point the link to an arbitrary file on the system and corrupt it during package extraction.
Remediation
Install updates from vendor's website.