Privilege Escalation Vulnerability in Amanda Package: CVE-2022-37704

amanda Updated 02 Oct 2025

Summary

16/04/2023
N/A
Yes i
Medium
6.7

CVE-2022-37704: Amanda 3.5.1 allows privilege escalation from the regular user backup to root. Affects amanda across 2 version ranges.

< 1:3.5.1-7+deb11u1 < 60032f14aeefe63d2b92e01496667315430c5923

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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Amanda is an open-source backup solution that enables users to set up a single master backup server to back up multiple hosts. It is widely used for its flexibility and ability to manage backups across different systems. However, the version 3.5.1 of Amanda has a critical vulnerability that allows privilege escalation from a regular user to root, potentially compromising the entire system.

Vulnerability Detail

The vulnerability arises from a SUID binary located at /lib/amanda/rundump, which executes /usr/sbin/dump as root. An attacker can control the arguments passed to this binary, leading to privilege escalation, denial of service, and information disclosure. This flaw is particularly dangerous as it allows unauthorized users to gain root access, which can be exploited for malicious purposes.

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, you can remove the SUID bit from the rundump binary to prevent it from executing with elevated privileges. Use the following command:

sudo chmod u-s /lib/amanda/rundump

This will mitigate the risk until the package is updated.

Conclusion

CVE-2022-37704 is a critical vulnerability in the Amanda backup software that allows privilege escalation. It is essential to update the software to the latest version to protect against potential exploits. Additionally, users can implement temporary workarounds to mitigate risks until updates are applied.

See every vulnerability recorded for amanda →

Share this vulnerability

FAQ

CVE-2022-37704 is a vulnerability in the Amanda backup software that allows privilege escalation from a regular user to root.

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

The vulnerability can lead to unauthorized root access, denial of service, and information disclosure, posing significant risks to system security.

Yes, patches are available for different Debian versions. Ensure to update to the specified fixed versions to mitigate the risk.

The CVSS score of CVE-2022-37704 is 6.7, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for amanda.

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.