Vulnerability · Published Nov 15, 2024 · Assigned by GitHub_M
CVE-2024-52522Rclone Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata
Medium 5.4
In plain English
A medium-severity security flaw in rclone from rclone. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Insecure handling of symlinks with --links and --metadata in rclone while copying to local disk allows unprivileged users to indirectly modify ownership and permissions on symlink target files when a superuser or privileged process performs a copy. This vulnerability could enable privilege escalation and unauthorized access to critical system files, compromising system integrity, confidentiality, and availability. This vulnerability is fixed in 1.68.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | rclone | 1.68.2-r0 | ALPINE-CVE-2024-52522 |
| Alpine:v3.21 | rclone | 1.68.2-r0 | ALPINE-CVE-2024-52522 |
| Alpine:v3.22 | rclone | 1.68.2-r0 | ALPINE-CVE-2024-52522 |
| Alpine:v3.23 | rclone | 1.68.2-r0 | ALPINE-CVE-2024-52522 |
| Alpine:v3.24 | rclone | 1.68.2-r0 | ALPINE-CVE-2024-52522 |
| Debian:12 | rclone | no fix listed | DEBIAN-CVE-2024-52522 |
| Debian:13 | rclone | no fix listed | DEBIAN-CVE-2024-52522 |
| Go | github.com/rclone/rclone | 1.68.2 | GHSA-hrxh-9w67-g4cv |
| Go | github.com/rclone/rclone | 1.68.2 | GO-2024-3271 |
| Ubuntu:25.10 | rclone | no fix listed | UBUNTU-CVE-2024-52522 |
| Ubuntu:26.10 | rclone | no fix listed | UBUNTU-CVE-2024-52522 |
Affected products (as reported)
Weakness: CWE-59, CWE-61, CWE-281 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L