# CVE-2022-37705: amanda-client: A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges

CVE-2022-37705 is fixed in 4 products on 1 platform, first by amanda-client 1:3.5.1-1ubuntu0.3, released January 29, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-37705
- Priority: Routine
- CVSS: 6.7 (High)
- EPSS: 0.0126
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 29, 2023

## Description

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),

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | amanda Debian 12.15 (bookworm) | 1:3.5.1-10 | [DEBIAN-CVE-2022-37705](https://patchblox.com/security/data/fix/linux/debian-cve-2022-37705.md) | Apr 16, 2023 |
| Linux | amanda Debian 13.5 (trixie) | 1:3.5.1-10 | [DEBIAN-CVE-2022-37705](https://patchblox.com/security/data/fix/linux/debian-cve-2022-37705.md) | Apr 16, 2023 |
| Linux | amanda Debian 14 | 1:3.5.1-10 | [DEBIAN-CVE-2022-37705](https://patchblox.com/security/data/fix/linux/debian-cve-2022-37705.md) | Apr 16, 2023 |
| Linux | amanda-client Ubuntu 18.04.6 LTS (bionic) | 1:3.5.1-1ubuntu0.3 | [amanda-client 1:3.5.1-1ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-amanda-client-1-3.5.1-1ubuntu0.3.md) | Jan 29, 2023 |
| Linux | amanda-client Ubuntu 20.04 LTS (focal) | 1:3.5.1-2ubuntu0.3 | [amanda-client 1:3.5.1-2ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-amanda-client-1-3.5.1-2ubuntu0.3.md) | Jan 29, 2023 |
| Linux | amanda-client Ubuntu 22.04.1 LTS (jammy) | 1:3.5.1-8ubuntu1.3 | [amanda-client 1:3.5.1-8ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-amanda-client-1-3.5.1-8ubuntu1.3.md) | Jan 29, 2023 |
| Linux | amanda-common Ubuntu 18.04.6 LTS (bionic) | 1:3.5.1-1ubuntu0.3 | [amanda-common 1:3.5.1-1ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-amanda-common-1-3.5.1-1ubuntu0.3.md) | Jan 29, 2023 |
| Linux | amanda-common Ubuntu 20.04 LTS (focal) | 1:3.5.1-2ubuntu0.3 | [amanda-common 1:3.5.1-2ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-amanda-common-1-3.5.1-2ubuntu0.3.md) | Jan 29, 2023 |
| Linux | amanda-common Ubuntu 22.04.1 LTS (jammy) | 1:3.5.1-8ubuntu1.3 | [amanda-common 1:3.5.1-8ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-amanda-common-1-3.5.1-8ubuntu1.3.md) | Jan 29, 2023 |
| Linux | amanda-server Ubuntu 18.04.6 LTS (bionic) | 1:3.5.1-1ubuntu0.3 | [amanda-server 1:3.5.1-1ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-amanda-server-1-3.5.1-1ubuntu0.3.md) | Jan 29, 2023 |
| Linux | amanda-server Ubuntu 20.04 LTS (focal) | 1:3.5.1-2ubuntu0.3 | [amanda-server 1:3.5.1-2ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-amanda-server-1-3.5.1-2ubuntu0.3.md) | Jan 29, 2023 |
| Linux | amanda-server Ubuntu 22.04.1 LTS (jammy) | 1:3.5.1-8ubuntu1.3 | [amanda-server 1:3.5.1-8ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-amanda-server-1-3.5.1-8ubuntu1.3.md) | Jan 29, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
