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

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 ID SNYK-GOLANG-GITHUBCOMRCLONERCLONEBACKENDLOCAL-8383135
  • published 17 Nov 2024
  • disclosed 15 Nov 2024
  • credit hakong

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
Expand this section

Snyk

Recommended
5.4 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    Low
  • Availability (SA)
    Low