UNIX symbolic link following in rclone - CVE-2024-52522
Published: January 6, 2025
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a symlink following issue when copying to local disk. A local user can create a specially crafted symbolic link to a critical file on the system and overwrite it with privileges of the application.
Successful exploitation of this vulnerability may result in privilege escalation.
Affected software
Fedora
golang-github-rclone-gofakes3
golang-github-aws-smithy
rclone
golang-github-ncw-swift-2
golang-github-aws-sdk-2
How to mitigate CVE-2024-52522
golang-github-rclone-gofakes3 - update to 0.0.3-1.fc42
golang-github-aws-smithy - update to 1.22.1-1.fc41
rclone - addressed in versions 1.68.2-1.fc41, 1.68.2-1.fc42, 1.70.3-1.el9
golang-github-ncw-swift-2 - update to 2.0.3-1.fc41
golang-github-aws-sdk-2 - addressed in versions 20250103-1.fc41, 20250103-1.fc42