{"id":"CVE-2024-52522","published":"2024-11-15T17:15:43Z","modified":"2024-11-21T14:56:00Z","title":"Rclone Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata","vendor":"rclone","product":"rclone","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00276,"percentile":0.12705,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"references":[{"url":"https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0","tags":["x_refsource_MISC"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.54},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"rclone","affectedVersions":[{"vendor":"rclone","product":"rclone","versions":[">= 1.59.0, < 1.68.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-15T18:25:56.656814Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/rclone/rclone","vulnerableRanges":[">=1.59.0, <1.68.2"],"patched":["1.68.2"],"from":["GHSA-hrxh-9w67-g4cv","GO-2024-3271"],"provenance":"source"}],"summary":{"text":"Rclone, a command-line tool for syncing files to and from cloud storage providers, mishandles symbolic links when copying to local disk with the --links and --metadata options, so ownership and permissions on symlink target files can be changed indirectly. An attacker needs a local, low-privilege account, and the flaw is triggered when a superuser or privileged process runs an rclone copy that encounters the attacker's symlinks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:15Z"},"euvd":{"id":"EUVD-2024-3358","exploited":false,"provenance":"source"}}