Every CVE Search/ Get API key

CVE-2022-37704

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary...

6.7 MediumPublic exploitFix available

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.53%Up 0.5 points since Apr 16, 2023
90%50%10%1%

What each source reports

NVD Score used 6.7

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.

Record
CVE-2022-37704
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
CVE List 6.7

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.

Record
CVE-2022-37704
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
EUVDEUVD-2022-40318 6.7

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.

Record
EUVD-2022-40318
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-2699-8r69-fq67 7.8

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary...

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.

Record
GHSA-2699-8r69-fq67
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
OSV 6.7

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.

Record
CVE-2022-37704
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2023-1149 6.7

amanda security update

AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that allows the administrator of a LAN to set up a single master backup server to back up multiple hosts to a single large capacity tape or disk drive. Amanda uses native tools (such as GNUtar, dump) for backup and can back up a large number of workstations running multiple versions of Unix/Mac OS X/Linux/Windows.

Security Fix(es):

A flaw was found in Amanda. The runtar SUID binary executes /usr/bin/tar as root without properly validating its arguments, possibly leading to escalation of privileges from the regular user "amandabackup" to root.(CVE-2022-37705)

A flaw was found in Amanda. The rundump SUID binary executes /usr/sbin/dump as root without properly validating its arguments, possibly leading to escalation of privileges from the regular user "amandabackup" to root.(CVE-2022-37704)

Record
OESA-2023-1149
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2022-37704 6.7

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.

Record
UBUNTU-CVE-2022-37704
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2022-37704 No score

Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.

Record
DEBIAN-CVE-2022-37704
Updated
2026-11-03
OSVopenSUSE-SU-2023:0069-1 No score

Security update for amanda

This update for amanda fixes the following issues:

  • CVE-2022-37704: fix privilege escalation via rundump (boo#1208033, gh#zmanda/amanda#195)
  • CVE-2022-37705: fix privilege escalation via runtar suid binary (boo#1208032, gh#zmanda/amanda#194)
Record
openSUSE-SU-2023:0069-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12808-1 No score

amanda-3.5.3-1.1 on GA media

These are all security issues fixed in the amanda-3.5.3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12808-1
Updated
2026-11-02
OSVUSN-5966-1 No score

amanda vulnerabilities

Maher Azzouzi discovered an information disclosure vulnerability in the calcsize binary within amanda. calcsize is a suid binary owned by root that could possibly be used by a malicious local attacker to expose sensitive file system information. (CVE-2022-37703)

Maher Azzouzi discovered a privilege escalation vulnerability in the rundump binary within amanda. rundump is a suid binary owned by root that did not perform adequate sanitization of environment variables or commandline options and could possibly be used by a malicious local attacker to escalate privileges. (CVE-2022-37704)

Maher Azzouzi discovered a privilege escalation vulnerability in the runtar binary within amanda. runtar is a suid binary owned by root that did not perform adequate sanitization of commandline options and could possibly be used by a malicious local attacker to escalate privileges. (CVE-2022-37705)

Record
USN-5966-1
Updated
2026-11-02
OSVUSN-5966-3 No score

amanda regression

USN-5966-1 fixed vulnerabilities in amanda. Unfortunately that update caused a regression and was reverted in USN-5966-2. This update provides security fixes for Ubuntu 22.10, Ubuntu 22.04 LTS, Ubuntu 20.04 LTS and Ubuntu 18.04 LTS.

We apologize for the inconvenience.

Original advisory details:

Maher Azzouzi discovered an information disclosure vulnerability in the calcsize binary within amanda. calcsize is a suid binary owned by root that could possibly be used by a malicious local attacker to expose sensitive file system information. (CVE-2022-37703)

Maher Azzouzi discovered a privilege escalation vulnerability in the rundump binary within amanda. rundump is a suid binary owned by root that did not perform adequate sanitization of environment variables or commandline options and could possibly be used by a malicious local attacker to escalate privileges. (CVE-2022-37704)

Maher Azzouzi discovered a privilege escalation vulnerability in the runtar binary within amanda. runtar is a suid binary owned by root that did not perform adequate sanitization of commandline options and could possibly be used by a malicious local attacker to escalate privileges. (CVE-2022-37705)

Record
USN-5966-3
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
amanda
Debian:12
before 1:3.5.1-10
1:3.5.1-10
amanda
Debian:13
before 1:3.5.1-10
1:3.5.1-10
amanda
Debian:14
before 1:3.5.1-10
1:3.5.1-10
amanda
Debian:10
before 1:3.5.1-2+deb10u1, plus listed versions
1:3.5.1-2
1:3.5.1-2+deb10u1
amanda
Debian:11
before 1:3.5.1-7+deb11u1, plus listed versions
1:3.5.1-7
1:3.5.1-7+deb11u1
amanda
openEuler:20.03-LTS-SP1
before 3.5.1-20.oe1
3.5.1-20.oe1
amanda
openEuler:20.03-LTS-SP3
before 3.5.1-20.oe1
3.5.1-20.oe1
amanda
openEuler:22.03-LTS
before 3.5.1-23.oe2203sp1
3.5.1-23.oe2203sp1
amanda
openEuler:22.03-LTS-SP1
before 3.5.1-23.oe2203sp1
3.5.1-23.oe2203sp1
amanda
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1:3.3.6-41:3.3.6-4.11:3.3.6-4.1ubuntu0.11:3.3.6-4.1ubuntu0.1+actuallyesm21:3.3.6-4.1ubuntu0.1+esm11:3.3.6-4.1ubuntu0.1+esm2
None known
Show 11 moreShow less
Affected packages
PackageAffectedFixed
amanda
Ubuntu:18.04:LTS
before 1:3.5.1-1ubuntu0.3, plus listed versions
1:3.3.9-5build11:3.5-21:3.5.1-11:3.5.1-1build11:3.5.1-1build21:3.5.1-1ubuntu0.11:3.5.1-1ubuntu0.2
1:3.5.1-1ubuntu0.3
amanda
Ubuntu:20.04:LTS
before 1:3.5.1-2ubuntu0.3, plus listed versions
1:3.5.1-2build21:3.5.1-2build31:3.5.1-2ubuntu0.11:3.5.1-2ubuntu0.2
1:3.5.1-2ubuntu0.3
amanda
Ubuntu:22.04:LTS
before 1:3.5.1-8ubuntu1.3, plus listed versions
1:3.5.1-5ubuntu11:3.5.1-81:3.5.1-8ubuntu11:3.5.1-8ubuntu1.11:3.5.1-8ubuntu1.2
1:3.5.1-8ubuntu1.3
amanda
Ubuntu:14.04:LTS
before 1:3.3.3-2ubuntu1.1+esm1, plus listed versions
1:3.3.3-21:3.3.3-2build11:3.3.3-2ubuntu11:3.3.3-2ubuntu1.11:3.3.3-2ubuntu1.1+actuallyesm2
1:3.3.3-2ubuntu1.1+esm1
amanda
Ubuntu:16.04:LTS
before 1:3.3.6-4.1ubuntu0.1, plus listed versions
1:3.3.6-41:3.3.6-4.1
1:3.3.6-4.1ubuntu0.1
amanda
Ubuntu:18.04:LTS
before 1:3.5.1-1ubuntu0.1, plus listed versions
1:3.3.9-5build11:3.5-21:3.5.1-11:3.5.1-1build11:3.5.1-1build2
1:3.5.1-1ubuntu0.1
amanda
Ubuntu:20.04:LTS
before 1:3.5.1-2ubuntu0.1, plus listed versions
1:3.5.1-2build21:3.5.1-2build3
1:3.5.1-2ubuntu0.1
amanda
Ubuntu:22.04:LTS
before 1:3.5.1-8ubuntu1.1, plus listed versions
1:3.5.1-5ubuntu11:3.5.1-81:3.5.1-8ubuntu1
1:3.5.1-8ubuntu1.1
amanda
SUSE:Package Hub 15 SP4
before 3.5.1-bp154.3.3.1
3.5.1-bp154.3.3.1
amanda
openSUSE:Leap 15.4
before 3.5.1-bp154.3.3.1
3.5.1-bp154.3.3.1
amanda
openSUSE:Tumbleweed
before 3.5.3-1.1
3.5.3-1.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubMaherAzzouzi/CVE-2022-377042022-10-23

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-37704 is a medium vulnerability (CVSS 6.7) in Zmanda Amanda, published January 30, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 44th percentile. Fixed in amanda 1:3.5.1-10.

References

Show 29 moreShow less
MoveEnter Open