| Name | CVE-2022-37704 |
| Description | Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3330-1, DLA-3880-1 |
| Debian Bugs | 1029829 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| amanda (PTS) | bullseye | 1:3.5.1-7 | vulnerable |
| bullseye (security) | 1:3.5.1-7+deb11u1 | fixed | |
| bookworm | 1:3.5.1-11+deb12u2 | fixed | |
| trixie | 1:3.5.4-2 | fixed | |
| forky, sid | 1:3.5.4-2.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 | buster | 1:3.5.1-2+deb10u1 | DLA-3330-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-37704
https://github.com/zmanda/amanda/issues/192
https://marc.info/?l=amanda-hackers&m=167437716918603&w=2
https://github.com/zmanda/amanda/pull/197
https://github.com/zmanda/amanda/commit/e890d08e16ea0621966a7ae35cce53ccb44a472e
Followup: https://github.com/zmanda/amanda/pull/202
Followup: https://github.com/zmanda/amanda/pull/205