Privilege Escalation Vulnerability in Amanda Package

amanda Updated 02 Oct 2025

Summary

16/04/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2022-37704: Amanda 3.5.1 allows privilege escalation from the regular user backup to root. Affects amanda versions < 1:3.5.1-7+deb11u1. Fixed in 1:3.5.1-7+deb11u1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Amanda is an open-source backup solution that enables users to manage and automate the backup of data across various systems. It is widely used for its flexibility and ability to handle multiple backup types. However, a critical vulnerability has been identified in version 3.5.1 of Amanda, which allows privilege escalation from a regular user to root, potentially compromising system security.

Vulnerability Detail

Amanda 3.5.1 contains a vulnerability that allows a regular user with backup privileges to escalate their privileges to root. This is due to a SUID binary located at /lib/amanda/rundump, which executes /usr/sbin/dump as root with arguments controlled by the attacker. This flaw can lead to unauthorized access, denial of service, and information disclosure, posing significant risks to system integrity and confidentiality.

How To Fix

Minimum fixed version

1:3.5.1-7+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade amanda

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

Workaround

As a temporary workaround, users can remove the SUID bit from the rundump binary to prevent it from executing with elevated privileges. This can be done using the command: sudo chmod u-s /lib/amanda/rundump. However, this may impact the functionality of the backup process.

Conclusion

The privilege escalation vulnerability in the Amanda package poses significant risks to system security. It is crucial for users to update to the patched versions to mitigate these risks. Additionally, users can utilize Vulert to monitor their applications for vulnerabilities effectively.

See every vulnerability recorded for amanda →

Share this vulnerability

FAQ

Amanda is an open-source backup solution that helps users manage and automate data backups across various systems.

The vulnerability allows a regular user to escalate their privileges to root, potentially compromising system security.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Update the Amanda package to the patched version using the command: sudo apt-get update && sudo apt-get install amanda.

Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities using a manifest file like package-lock.json, without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for amanda.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1:3.5.1-7+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade amanda

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.