CVE-2022-37705 Privilege escalation in n/a

Medium 6.7 Published Updated

A local attacker with backup user privileges can escalate to root by exploiting argument injection in the runtar SUID wrapper.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-37705?

CVE-2022-37705 is a medium-severity vulnerability in n/a, published on 16 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-88

Which versions are affected by CVE-2022-37705?

It affects 1 product.

Linux distribution packages (1)
amanda openSUSE:TumbleweedAll versions3.5.2-3.1

Products include Zmanda Amanda.

How do I fix CVE-2022-37705?

Apply the vendor's patch.

Is CVE-2022-37705 being exploited?

There is no known exploitation of CVE-2022-37705 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2022-37705, GHSA-f6f6-98vp-w8mf, UBUNTU-CVE-2022-37705, openSUSE-SU-2024:12706-1.

Is CVE-2022-37705 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free