Name | CVE-2022-37705 |
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), |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3681-1, DLA-3880-1, ELA-1007-1 |
Debian Bugs | 1029829 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
amanda (PTS) | jessie | 1:3.3.6-4 | vulnerable |
stretch (lts), stretch | 1:3.3.9-5+deb9u2 | fixed | |
buster (security), buster, buster (lts) | 1:3.5.1-2+deb10u2 | fixed | |
bullseye | 1:3.5.1-7 | vulnerable | |
bullseye (security) | 1:3.5.1-7+deb11u1 | fixed | |
bookworm | 1:3.5.1-11+deb12u2 | fixed | |
sid, trixie | 1:3.5.4-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
amanda | source | jessie | (unfixed) | end-of-life | ||
amanda | source | stretch | 1:3.3.9-5+deb9u2 | ELA-1007-1 | ||
amanda | source | buster | 1:3.5.1-2+deb10u2 | DLA-3681-1 | ||
amanda | source | bullseye | 1:3.5.1-7+deb11u1 | DLA-3880-1 | ||
amanda | source | (unstable) | 1:3.5.1-10 | 1029829 |
https://github.com/MaherAzzouzi/CVE-2022-37705
https://github.com/zmanda/amanda/issues/192
https://marc.info/?l=amanda-hackers&m=167437716918603&w=2
https://github.com/zmanda/amanda/pull/196
https://github.com/zmanda/amanda/commit/43c5b32f46186f3ed78fe6c7503096fa9ad1236c