In 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.
https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html
https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3
https://github.com/MaherAzzouzi/CVE-2022-37703