UNIX symbolic link following in rclone - CVE-2024-52522

 

UNIX symbolic link following in rclone - CVE-2024-52522

Published: January 6, 2025


Vulnerability identifier: #VU102313
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-52522
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability: No public exploit available

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

rclone
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

Install updates from vendor's website.

rclone - update to 1.68.2
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

External References

Related Security Bulletins