A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
rclone is a command-line program to sync files and directories to and from different cloud storage providers. From 1.72.0 until 1.75.1, the archive ZIP backend method (*Fs).readZip in backend/archive/zip/zip.go accepts archive/zip.File.Name values from an untrusted central directory and exposes cleaned entry names without ensuring that they remain inside the archive namespace. Entries such as ../../etc/cron.d/evil can survive path.Clean and become Object.Remote() values that fs/sync and fs/operations use as destination-relative paths, allowing rclone copy or sync to write outside the selected destination on backends that do not independently confine the path. The non-empty root check also used strings.HasPrefix without a path boundary, so root foo could incorrectly include sibling foobar entries. This issue is fixed in version 1.75.1.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Rclone rclone
Weakness type
References
- github.com /rclone/rclone/commit/5dae3adbf571a6cd9ba501eb47397a7e871e1…
- github.com /rclone/rclone/commit/6507e13d5a83789f500af96d7188c302c9d74…
- github.com /rclone/rclone/releases/tag/v1.75.1
- github.com /rclone/rclone/security/advisories/GHSA-66hp-wgxq-6f5q
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning