{"id":"CVE-2024-52522","state":"PUBLISHED","title":"Rclone  Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata","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.","publishedAt":"2024-11-15T17:15:43.357Z","updatedAt":"2024-11-21T14:56:00.193Z","severity":{"score":5.4,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["rclone rclone"],"affected":[{"vendor":"rclone","product":"rclone","versions":[{"version":">= 1.59.0, < 1.68.2","status":"affected"}]}],"references":["https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv","https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0"],"weaknesses":["CWE-59","CWE-61","CWE-281"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/52xxx/CVE-2024-52522.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-52522","state":"PUBLISHED","datePublished":"2024-11-15T17:15:43.357Z","dateUpdated":"2024-11-21T14:56:00.193Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-11-11T18:49:23.559Z"},"containers":{"cna":{"title":"Rclone  Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata","descriptions":[{"lang":"en","value":"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":[{"vendor":"rclone","product":"rclone","versions":[{"version":">= 1.59.0, < 1.68.2","status":"affected"}]}],"references":[{"url":"https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv","name":"https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0","name":"https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"LOW","baseScore":5.4,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-61","lang":"en","description":"CWE-61: UNIX Symbolic Link (Symlink) Following","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-281","lang":"en","description":"CWE-281: Improper Preservation of Permissions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-15T17:15:43.357Z"},"source":{"advisory":"GHSA-hrxh-9w67-g4cv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-15T18:25:56.656814Z","id":"CVE-2024-52522","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-21T14:56:00.193Z"}}]}}}