Vulnerability · Published Apr 16, 2023 · Assigned by mitre

CVE-2022-37705

Medium 6.7

In plain English

A medium-severity security flaw in the amanda package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.7Medium
Exploit odds (30 days)1.3%top 30.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12amanda1:3.5.1-10DEBIAN-CVE-2022-37705
Debian:13amanda1:3.5.1-10DEBIAN-CVE-2022-37705
Debian:14amanda1:3.5.1-10DEBIAN-CVE-2022-37705
Ubuntu:22.04:LTSamanda1:3.5.1-8ubuntu1.1USN-5966-1
Ubuntu:22.04:LTSamanda1:3.5.1-8ubuntu1.3USN-5966-3
Ubuntu:22.04:LTSamanda1:3.5.1-8ubuntu1.3UBUNTU-CVE-2022-37705

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References