CVE-2022-37705
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root...
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
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
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
- Record
CVE-2022-37705- 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-88
- Updated
- 2026-11-02
CVE List No score
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
- Record
CVE-2022-37705- Updated
- 2026-11-02
EUVDEUVD-2022-40319 No score
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
- Record
EUVD-2022-40319- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-f6f6-98vp-w8mf
7.8
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root...
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
- Record
GHSA-f6f6-98vp-w8mf- 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-88
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-37705
6.7
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
- Record
DEBIAN-CVE-2022-37705- 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-03
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 12 moreShow less
OSVUBUNTU-CVE-2022-37705
6.7
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
- Record
UBUNTU-CVE-2022-37705- 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
OSVCLSA-2023-1692293040 No score
amanda: Fix of 2 CVEs
- CVE-2022-37705: fix tar option filtering
- CVE-2023-30577: introduce tar option allow list
- Record
CLSA-2023-1692293040- Updated
- 2026-11-02
OSVCLSA-2023-1692293738 No score
amanda: Fix of 2 CVEs
- CVE-2022-37705: fix tar option filtering
- CVE-2023-30577: introduce tar option allow list
- Record
CLSA-2023-1692293738- Updated
- 2026-11-02
OSVCLSA-2023-1692294010 No score
amanda: Fix of 2 CVEs
- CVE-2022-37705: fix tar option filtering
- CVE-2023-30577: introduce tar option allow list
- Record
CLSA-2023-1692294010- Updated
- 2026-11-02
OSVCLSA-2023-1692294845 No score
amanda: Fix of 2 CVEs
- CVE-2022-37705: fix tar option filtering
- CVE-2023-30577: introduce tar option allow list
- Record
CLSA-2023-1692294845- Updated
- 2026-11-02
OSVCLSA-2023-1692295986 No score
Fix CVE(s): CVE-2023-30577, CVE-2022-37705
- SECURITY UPDATE: privilege escalation through runtar SUID program
- debian/patches/CVE-2022-37705.patch: filter tar options
- CVE-2022-37705
- SECURITY UPDATE: privilege escalation through runtar SUID program
- debian/patches/CVE-2023-30577.patch: introduce tar option allow list
- CVE-2023-30577
- Record
CLSA-2023-1692295986- Updated
- 2026-11-02
OSVCLSA-2026-1777026752 No score
amanda: Fix of 2 CVEs
- CVE-2022-37705: fix tar option filtering
- CVE-2023-30577: introduce tar option allow list
- Record
CLSA-2026-1777026752- Updated
- 2026-11-02
OSV No score
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),
- Record
CVE-2022-37705- Updated
- 2026-11-02
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:12706-1 No score
amanda-3.5.2-3.1 on GA media
These are all security issues fixed in the amanda-3.5.2-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12706-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 |
|---|---|---|
amandaTuxCare:CentOS:6 |
before 2.6.1p2-9.el6_6.tuxcare.els1 | 2.6.1p2-9.el6_6.tuxcare.els1 |
amanda-clientTuxCare:CentOS:6 |
before 2.6.1p2-9.el6_6.tuxcare.els1 | 2.6.1p2-9.el6_6.tuxcare.els1 |
amanda-develTuxCare:CentOS:6 |
before 2.6.1p2-9.el6_6.tuxcare.els1 | 2.6.1p2-9.el6_6.tuxcare.els1 |
amanda-serverTuxCare:CentOS:6 |
before 2.6.1p2-9.el6_6.tuxcare.els1 | 2.6.1p2-9.el6_6.tuxcare.els1 |
amandaTuxCare:OracleLinux:6 |
before 2.6.1p2-9.el6_6.tuxcare.els1 | 2.6.1p2-9.el6_6.tuxcare.els1 |
amanda-clientTuxCare:OracleLinux:6 |
before 2.6.1p2-9.el6_6.tuxcare.els1 | 2.6.1p2-9.el6_6.tuxcare.els1 |
amanda-develTuxCare:OracleLinux:6 |
before 2.6.1p2-9.el6_6.tuxcare.els1 | 2.6.1p2-9.el6_6.tuxcare.els1 |
amanda-serverTuxCare:OracleLinux:6 |
before 2.6.1p2-9.el6_6.tuxcare.els1 | 2.6.1p2-9.el6_6.tuxcare.els1 |
amandaTuxCare:CentOS:8.4 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-clientTuxCare:CentOS:8.4 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
Show 34 moreShow less
| Package | Affected | Fixed |
|---|---|---|
amanda-libsTuxCare:CentOS:8.4 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-serverTuxCare:CentOS:8.4 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amandaTuxCare:CentOS:8.5 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-clientTuxCare:CentOS:8.5 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-libsTuxCare:CentOS:8.5 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-serverTuxCare:CentOS:8.5 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-clientTuxCare:Ubuntu:16.04 |
before 1:3.3.6-4.1+tuxcare.els1 | 1:3.3.6-4.1+tuxcare.els1 |
amanda-commonTuxCare:Ubuntu:16.04 |
before 1:3.3.6-4.1+tuxcare.els1 | 1:3.3.6-4.1+tuxcare.els1 |
amanda-serverTuxCare:Ubuntu:16.04 |
before 1:3.3.6-4.1+tuxcare.els1 | 1:3.3.6-4.1+tuxcare.els1 |
amandaTuxCare:CentOS-Stream:8 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-clientTuxCare:CentOS-Stream:8 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-libsTuxCare:CentOS-Stream:8 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
amanda-serverTuxCare:CentOS-Stream:8 |
before 3.5.1-13.el8.tuxcare.els1 | 3.5.1-13.el8.tuxcare.els1 |
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+deb10u2, plus listed versions 1:3.5.1-21:3.5.1-2+deb10u1 |
1:3.5.1-2+deb10u2 |
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 |
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.2-3.1 | 3.5.2-3.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | MaherAzzouzi/CVE-2022-37705 | 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-37705 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 1.26%, the 69th percentile. Fixed in amanda 2.6.1p2-9.el6_6.tuxcare.els1.
References
amanda.org
github.com/MaherAzzouzi/CVE-2022-37705
github.com/zmanda/amanda/issues/192
marc.info?l=amanda-hackers
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2
Show 35 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK
github.com/zmanda/amanda/pull/194
github.com/zmanda/amanda/pull/196
github.com/zmanda/amanda/pull/204
github.com/zmanda/amanda/releases/tag/tag-community-3.5.3
lists.debian.org/debian-lts-announce/2023/12/msg00003.html
lists.debian.org/debian-lts-announce/2024/09/msg00023.html
nvd.nist.gov/vuln/detail/CVE-2022-37705
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-f6f6-98vp-w8mf
errata.cloudlinux.com/els6/CLSA-2023-1692293040.html
errata.cloudlinux.com/ol6/CLSA-2023-1692293738.html
errata.cloudlinux.com/centos8.4-els/CLSA-2023-1692294010.html
errata.cloudlinux.com/centos8.5-els/CLSA-2023-1692294845.html
errata.cloudlinux.com/ubuntu16_04-els/CLSA-2023-1692295986
errata.tuxcare.com/els_os/centos-stream8els/CLSA-2026-1777026752.html
github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37705.json
security-tracker.debian.org/tracker/CVE-2022-37705
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1149
nvd.nist.gov/vuln/detail/CVE-2022-37704
ubuntu.com/security/CVE-2022-37705
marc.info?l=amanda-hackers&m=167437716918603&w=2
ubuntu.com/security/notices/USN-5966-3
cve.org/CVERecord?id=CVE-2022-37705
ubuntu.com/security/notices/USN-5966-1
ubuntu.com/security/CVE-2022-37703
ubuntu.com/security/CVE-2022-37704
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