Symlink Attack Affecting github.com/rclone/rclone/backend/local package, versions >=1.59.0 <1.68.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMRCLONERCLONEBACKENDLOCAL-8383135
  • published17 Nov 2024
  • disclosed15 Nov 2024
  • credithakong

Introduced: 15 Nov 2024

CVE-2024-52522  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade github.com/rclone/rclone/backend/local to version 1.68.2 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack when an administrator/superuser/process with elevated privileges copies to the local backend from a malicious symlink using the --links or --metadata options. An attacker can cause the modification of ownership and permissions on the target files of symlinks they own rather than just the symlinks themselves, enabling privilege elevation.

References

CVSS Scores

version 4.0
version 3.1