CVEfocus › CVE database › CVE-2022-37705

CVE-2022-37705

CVSS 6.7 MediumEPSS 1.3% (higher than 70% of CVEs)Published 2023-04-16Updated 2025-11-04Assigner: mitre

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

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
4Fix pending
10Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04amandaFixed1:3.5.1-8ubuntu1.3UBUNTU-CVE-2022-37705
Ubuntu 20.04amandaFixed1:3.5.1-2ubuntu0.3UBUNTU-CVE-2022-37705
Ubuntu 18.04amandaFixed1:3.5.1-1ubuntu0.3UBUNTU-CVE-2022-37705
Ubuntu 16.04amandaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-37705
Ubuntu 14.04amandaWill not fix
Ubuntu decided not to fix this in this release
Debian 14amandaFixed1:3.5.1-10DEBIAN-CVE-2022-37705
Debian 13amandaFixed1:3.5.1-10DEBIAN-CVE-2022-37705
Debian 12amandaFixed1:3.5.1-10DEBIAN-CVE-2022-37705
Red Hat Enterprise Linux 8amandaFix pending
Fix deferred
Red Hat Enterprise Linux 8amanda-clientFix pending
Fix deferred
Red Hat Enterprise Linux 8amanda-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8amanda-serverFix pending
Fix deferred
Red Hat Enterprise Linux 7amandaWill not fix
Out of support scope
Red Hat Enterprise Linux 7amanda-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7amanda-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7amanda-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 6amandaWill not fix
Out of support scope
Red Hat Enterprise Linux 6amanda-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6amanda-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6amanda-serverWill not fix
Out of support scope

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.