CVE-2022-37705 json
A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges.
published 2023-04-16 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-40319
- cvss
- 6.7
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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),
Patch / fix
- amanda Debian 14, Debian 13, Debian 12 1:3.5.1-10
debian advisories DEBIAN-CVE-2022-37705
- amanda Ubuntu 18.04 LTS 1:3.5.1-1ubuntu0.3
- amanda Ubuntu 20.04 LTS 1:3.5.1-2ubuntu0.3
- amanda Ubuntu 22.04 LTS 1:3.5.1-8ubuntu1.3
ubuntu advisories UBUNTU-CVE-2022-37705
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- amanda openSUSE Tumbleweed 3.5.2-3.1
- amanda Package Hub 15 SP4, openSUSE Leap 15.4 3.5.1-bp154.3.3.1
opensuse advisories openSUSE-SU-2024:12706-1openSUSE-SU-2023:0069-1
- github.com/zmanda/amanda#194 pull request
- github.com/zmanda/amanda#196 pull request
- github.com/zmanda/amanda#204 pull request
- github.com/zmanda/amanda/releases/tag/tag-community-3.5.3 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-37705 updated cvss 6.7
amanda: runtar: crafted arguments can lead to local privilege escalation
-
Red Hat Enterprise Linux 6 amanda, amanda-client, amanda-server Red Hat Enterprise Linux 7 amanda, amanda-libs, amanda-client, amanda-serveraffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 amanda, amanda-libs, amanda-client, amanda-serveraffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/MaherAzzouzi/CVE-2022-37705 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
- Weakness
-
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
References
-
github.com
/zmanda/amanda/pull/194
patch
-
github.com
/zmanda/amanda/pull/196
patch
-
github.com
/zmanda/amanda/pull/204
patch
-
github.com
/MaherAzzouzi/CVE-2022-37705
exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/
vendor-advisory
-
amanda.org
/
product
- github.com /zmanda/amanda/issues/192
- marc.info /?l=amanda-hackers
- github.com /zmanda/amanda/releases/tag/tag-community-3.5.3
-
lists.debian.org
/debian-lts-announce/2023/12/msg00003.html
mailing-list
- lists.debian.org /debian-lts-announce/2024/09/msg00023.html
Sources
- CVE List CVE-2022-37705
- NVD CVE-2022-37705
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.