Ownership Change Vulnerability in rsnapshot: Local File Access Risk

rsnapshot Updated 02 Oct 2025

Summary

10/04/2005
N/A
Yes i
Unrated
Not published

CVE-2005-1064: The copy_symlink function in rsnapshot 1.2.0 and 1.1.x before 1.1.7 changes the ownership of files that a symlink points to rather than the symlink itself, which allows local users to obtain access to arbitrary files. Affects rsnapshot versions < 1.2.1-1. Fixed in 1.2.1-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

rsnapshot is a filesystem snapshot utility for making backups of local and remote systems. It utilizes rsync and hard links to create efficient backups. The tool is designed to simplify the backup process while ensuring data integrity and ease of restoration. However, certain versions of rsnapshot are vulnerable to a flaw in the copy_symlink function, which can lead to unintended file access by local users.

Vulnerability Detail

The vulnerability arises from the copy_symlink function in rsnapshot versions 1.2.0 and 1.1.x prior to 1.1.7. Instead of changing the ownership of the symlink itself, the function alters the ownership of the files that the symlink points to. This behavior allows local users to gain access to arbitrary files, potentially leading to unauthorized data exposure or manipulation. The flaw is particularly concerning in multi-user environments where sensitive data may be accessible through symlinks.

How To Fix

Minimum fixed version

1.2.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade rsnapshot

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid using symlinks in their backup configurations until the software is updated. Additionally, restricting access to the rsnapshot utility to trusted users can help mitigate the risk of unauthorized access.

Conclusion

The vulnerability in rsnapshot poses a significant risk to local file security due to improper handling of symlinks. Users are strongly advised to upgrade to the latest version to mitigate this risk. Additionally, employing workarounds can help protect sensitive data until the upgrade is completed.

See every vulnerability recorded for rsnapshot →

Share this vulnerability

FAQ

The vulnerability affects rsnapshot versions 1.2.0 and 1.1.x prior to 1.1.7.

Local users may gain unauthorized access to files that they should not have access to, leading to data exposure or manipulation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.

Yes, you can avoid using symlinks in your backup configurations and restrict access to the rsnapshot utility to trusted users.

More details can be found in the CVE database or through the provided source link in the vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for rsnapshot.

How To Fix

Minimum fixed version

1.2.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade rsnapshot

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback