CVEfocus › CVE database › CVE-2024-52522

CVE-2024-52522Rclone Improper Permission and Ownership Handling on Symlink Targets with --links and…

CVSS 5.4 MediumEPSS 0.3% (higher than 13% of CVEs)Published 2024-11-15Updated 2024-11-21Assigner: GitHub_M

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.

CWE-281CWE-59CWE-61

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
5Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rcloneFix pendingUBUNTU-CVE-2024-52522
Ubuntu 26.04rcloneFix pendingUBUNTU-CVE-2024-52522
Ubuntu 25.10rcloneWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-52522
Ubuntu 24.04rcloneFix pendingUBUNTU-CVE-2024-52522
Debian 14rcloneFixed1.69.3+dfsg-2DEBIAN-CVE-2024-52522
Debian 13rcloneFix pendingDEBIAN-CVE-2024-52522
Debian 12rcloneFix pendingDEBIAN-CVE-2024-52522
Alpine Linux 3.24rcloneFixed1.68.2-r0ALPINE-CVE-2024-52522
Alpine Linux 3.23rcloneFixed1.68.2-r0ALPINE-CVE-2024-52522
Alpine Linux 3.22rcloneFixed1.68.2-r0ALPINE-CVE-2024-52522
Alpine Linux 3.21rcloneFixed1.68.2-r0ALPINE-CVE-2024-52522
Alpine Linux 3.20rcloneFixed1.68.2-r0ALPINE-CVE-2024-52522
Go librarygithub.com/rclone/rcloneFixed1.68.2GO-2024-3271

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.