Skip to content
OpenAdvisories
Medium · 5.4 CVE-2024-52522 BIT-rclone-2024-52522EUVD-2024-3358GHSA-hrxh-9w67-g4cvGO-2024-3271

Rclone Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata

Published Nov 15, 2024 · Updated Nov 21, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
rclone rclone >= 1.59.0, < 1.68.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 rclone No fix yet —
Debian 12 rclone No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rclone No fix yet —
Ubuntu 25.10 rclone No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS rclone No fix yet —
Ubuntu Pro 24.04 LTS rclone No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241119T173509-1.1 openSUSE-SU-2024:14513-1
openSUSE Tumbleweed rclone 1.68.2-2.1 openSUSE-SU-2024:14524-1
ReleasePackageFixed inAdvisory
Alpine v3.24 rclone 1.68.2-r0 —
Alpine v3.23 rclone 1.68.2-r0 —
Alpine v3.22 rclone 1.68.2-r0 —
Alpine v3.21 rclone 1.68.2-r0 —
Alpine v3.20 rclone 1.68.2-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling rclone 1.68.2-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/rclone/rclone >= 1.59.0, < 1.68.2 1.68.2 GHSA-hrxh-9w67-g4cv

Advisories 3

References