CVE-2022-37703

NameCVE-2022-37703
DescriptionIn Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3681-1, DLA-3880-1, ELA-1007-1
Debian Bugs1021017

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
amanda (PTS)jessie1:3.3.6-4vulnerable
stretch (lts), stretch1:3.3.9-5+deb9u2fixed
buster (security), buster, buster (lts)1:3.5.1-2+deb10u2fixed
bullseye1:3.5.1-7vulnerable
bullseye (security)1:3.5.1-7+deb11u1fixed
bookworm1:3.5.1-11+deb12u2fixed
sid, trixie1:3.5.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
amandasourcejessie(unfixed)end-of-life
amandasourcestretch1:3.3.9-5+deb9u2ELA-1007-1
amandasourcebuster1:3.5.1-2+deb10u2DLA-3681-1
amandasourcebullseye1:3.5.1-7+deb11u1DLA-3880-1
amandasource(unstable)1:3.5.1-101021017

Notes

https://github.com/MaherAzzouzi/CVE-2022-37703
https://github.com/zmanda/amanda/issues/192
https://github.com/zmanda/amanda/pull/198
https://github.com/zmanda/amanda/commit/b1dd708728fcab5e3a49ba5c0fb754776242efc3

Search for package or bug name: Reporting problems