CVE-2024-52522

NameCVE-2024-52522
DescriptionRclone 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1088107

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rclone (PTS)stretch (security), stretch (lts), stretch1.35-1+deb8u1fixed
buster (security), buster, buster (lts)1.45-3+deb10u1fixed
bullseye1.53.3-1fixed
bookworm1.60.1+dfsg-2vulnerable
sid, trixie1.60.1+dfsg-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rclonesourcejessie(not affected)
rclonesourcestretch(not affected)
rclonesourcebuster(not affected)
rclonesourcebullseye(not affected)
rclonesource(unstable)(unfixed)1088107

Notes

[bookworm] - rclone <no-dsa> (Minor issue)
[bullseye] - rclone <not-affected> (--metadata added in 1.59.0)
https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv
https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0 (master)
https://github.com/rclone/rclone/commit/669b2f2669cacd634faa2bcecb589b76e1402533 (v1.68.2)
[buster] - rclone <not-affected> (--metadata added in 1.59.0)
[stretch] - rclone <not-affected> (--metadata added in 1.59.0)
[jessie] - rclone <not-affected> (--metadata added in 1.59.0)

Search for package or bug name: Reporting problems