Insecure Permissions in xfsdump Package Leading to Potential File Overwrites

xfsdump Updated 02 Oct 2025

Summary

14/05/2007
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2007-2654: xfs_fsr in xfsdump creates a .fsr temporary directory with insecure permissions, which allows local users to read or overwrite arbitrary files on xfs filesystems. Affects xfsdump versions < 2.2.45-1. Fixed in 2.2.45-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

The xfsdump package is a utility for backing up and restoring XFS filesystems. It is designed to efficiently manage the storage and retrieval of data on XFS, a high-performance filesystem used in many Linux environments. However, a vulnerability has been identified in the way xfsdump handles temporary directories, which can lead to security risks if not addressed.

Vulnerability Detail

The vulnerability, identified as DEBIAN-CVE-2007-2654, arises from the xfs_fsr function within the xfsdump package. This function creates a temporary directory named .fsr with insecure permissions, allowing local users to read or overwrite arbitrary files on XFS filesystems. This could lead to unauthorized access to sensitive data or disruption of services, making it critical to address this issue promptly.

How To Fix

Minimum fixed version

2.2.45-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade xfsdump

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

Workaround

As a temporary workaround, users can manually change the permissions of the .fsr directory after it is created, although this is not a recommended long-term solution. The command to change permissions is: chmod 700 .fsr. However, the best practice is to update the package to the fixed version.

Conclusion

The xfsdump package has a vulnerability that can lead to insecure permissions on temporary directories, allowing local users to access or overwrite files. It is crucial to update to the latest patched version to secure your system against potential threats.

See every vulnerability recorded for xfsdump →

Share this vulnerability

FAQ

xfsdump is a utility for backing up and restoring data on XFS filesystems, providing efficient data management.

The risks include unauthorized access to sensitive files and potential data loss due to overwriting of files by local users.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

Yes, a patched version of the xfsdump package (2.2.45-1) is available. Users should update to this version to mitigate the vulnerability.

If immediate updating is not possible, consider changing the permissions of the .fsr directory as a temporary workaround, but prioritize updating as soon as feasible.

Related vulnerabilities

Recent vulnerabilities recorded for xfsdump.

How To Fix

Minimum fixed version

2.2.45-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade xfsdump

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