cve.bz

CVE-2022-37705 zmanda amanda: Argument Injection

6.7 mediumExploit referenceEPSS 1.3%Fix available

Medium (6.7) in zmanda amanda. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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),

Severity

CVSS 3.1

6.7 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.2% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-11-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-88 Improper Neutralization of Argument Delimiters in a Command (Argument Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-37705 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-37705?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-37705?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-37705 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
zmanda:amanda3.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10amanda1:3.5.1-2+deb10u2DLA-3681-1
Debian11amanda1:3.5.1-7+deb11u1DLA-3880-1
Debian12, 13, 14amanda1:3.5.1-10DEBIAN-CVE-2022-37705
Ubuntu14.04:LTSamanda1:3.3.3-2ubuntu1.1+esm1USN-5966-1
Ubuntu16.04:LTSamanda1:3.3.6-4.1ubuntu0.1USN-5966-1
Ubuntu18.04:LTSamanda1:3.5.1-1ubuntu0.3UBUNTU-CVE-2022-37705 USN-5966-1 USN-5966-3
Ubuntu20.04:LTSamanda1:3.5.1-2ubuntu0.3UBUNTU-CVE-2022-37705 USN-5966-1 USN-5966-3
Ubuntu22.04:LTSamanda1:3.5.1-8ubuntu1.3UBUNTU-CVE-2022-37705 USN-5966-1 USN-5966-3
UbuntuPro:16.04:LTSamandano fix listedUBUNTU-CVE-2022-37705
SUSEPackage Hub 15 SP4amanda3.5.1-bp154.3.3.1openSUSE-SU-2023:0069-1
openSUSELeap 15.4amanda3.5.1-bp154.3.3.1openSUSE-SU-2023:0069-1
openSUSETumbleweedamanda3.5.2-3.1openSUSE-SU-2024:12706-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This flaw has been rated Low on Red Hat Enterprise Linux since unprivileged users can't pass arbitrary arguments to the `runtar` SUID binary. By default, only users in the "disk" group can execute the `runtar` binary on RHEL.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6amandaOut of support scope
Red Hat Enterprise Linux 7amandaOut of support scope
Red Hat Enterprise Linux 8amandaFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-37705.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-137 Parameter Injection Likelihood: Medium · Severity: Medium
  • CAPEC-174 Flash Parameter Injection Likelihood: High · Severity: Medium
  • CAPEC-460 HTTP Parameter Pollution (HPP) Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON