CVE-2022-37704
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.
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
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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 High
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
amandaDebian:12 |
before 1:3.5.1-10 | 1:3.5.1-10 |
amandaDebian:13 |
before 1:3.5.1-10 | 1:3.5.1-10 |
amandaDebian:14 |
before 1:3.5.1-10 | 1:3.5.1-10 |
amandaDebian:10 |
before 1:3.5.1-2+deb10u1, plus listed versions 1:3.5.1-2 |
1:3.5.1-2+deb10u1 |
amandaDebian:11 |
before 1:3.5.1-7+deb11u1, plus listed versions 1:3.5.1-7 |
1:3.5.1-7+deb11u1 |
amandaopenEuler:20.03-LTS-SP1 |
before 3.5.1-20.oe1 | 3.5.1-20.oe1 |
amandaopenEuler:20.03-LTS-SP3 |
before 3.5.1-20.oe1 | 3.5.1-20.oe1 |
amandaopenEuler:22.03-LTS |
before 3.5.1-23.oe2203sp1 | 3.5.1-23.oe2203sp1 |
amandaopenEuler:22.03-LTS-SP1 |
before 3.5.1-23.oe2203sp1 | 3.5.1-23.oe2203sp1 |
amandaUbuntu: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
| Package | Affected | Fixed |
|---|---|---|
amandaUbuntu: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 |
amandaUbuntu: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 |
amandaUbuntu: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 |
amandaUbuntu: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 |
amandaUbuntu: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 |
amandaUbuntu: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 |
amandaUbuntu: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 |
amandaUbuntu: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 |
amandaSUSE:Package Hub 15 SP4 |
before 3.5.1-bp154.3.3.1 | 3.5.1-bp154.3.3.1 |
amandaopenSUSE:Leap 15.4 |
before 3.5.1-bp154.3.3.1 | 3.5.1-bp154.3.3.1 |
amandaopenSUSE:Tumbleweed |
before 3.5.3-1.1 | 3.5.3-1.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | MaherAzzouzi/CVE-2022-37704 | 2022-10-23 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE 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
amanda.org
github.com/MaherAzzouzi/CVE-2022-37704
github.com/zmanda/amanda/issues/192
marc.info?l=amanda-hackers
lists.debian.org/debian-lts-announce/2023/02/msg00025.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ
Show 29 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK
github.com/zmanda/amanda/pull/197
github.com/zmanda/amanda/pull/205
github.com/zmanda/amanda/releases/tag/tag-community-3.5.3
lists.debian.org/debian-lts-announce/2024/09/msg00023.html
nvd.nist.gov/vuln/detail/CVE-2022-37704
lists.fedoraproject.org/archives/list/[email protected]/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK
lists.fedoraproject.org/archives/list/[email protected]/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ
lists.fedoraproject.org/archives/list/[email protected]/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2
github.com/advisories/GHSA-2699-8r69-fq67
github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37704.json
security-tracker.debian.org/tracker/CVE-2022-37704
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1149
nvd.nist.gov/vuln/detail/CVE-2022-37705
ubuntu.com/security/CVE-2022-37704
marc.info?l=amanda-hackers&m=167437716918603&w=2
ubuntu.com/security/notices/USN-5966-3
cve.org/CVERecord?id=CVE-2022-37704
ubuntu.com/security/notices/USN-5966-1
ubuntu.com/security/CVE-2022-37703
ubuntu.com/security/CVE-2022-37705
launchpad.net/bugs/2012536
lists.opensuse.org/archives/list/[email protected]/thread/45FBXK7GXP7SESEIZZ6JOEP7VN2T37AM
bugzilla.suse.com/1208032
bugzilla.suse.com/1208033
suse.com/security/cve/CVE-2022-37704
suse.com/security/cve/CVE-2022-37705
suse.com/security/cve/CVE-2022-37703