Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

                          amanda security update
                              4 December 2023


        AusCERT Security Bulletin Summary

Product:           amanda
Publisher:         Debian
Operating System:  Debian GNU/Linux
Resolution:        Patch/Upgrade
CVE Names:         CVE-2023-30577 CVE-2022-37705 CVE-2022-37703

Original Bulletin: 

Comment: CVSS (Max):  7.8 CVE-2023-30577 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
         CVSS Source: NIST
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

- --------------------------BEGIN INCLUDED TEXT--------------------

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-3681-1                debian-lts@lists.debian.org
https://www.debian.org/lts/security/                         Tobias Frost
December 03, 2023                             https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : amanda
Version        : 1:3.5.1-2+deb10u2
CVE ID         : CVE-2022-37703 CVE-2022-37705 CVE-2023-30577
Debian Bug     : 1021017 1029829 1055253

Multiple vulnerabilties have been found in Amanda,a backup system
designed to archive many computers on a network to a single
large-capacity tape drive. The vulnerabilties potentially allows local
privilege escalation from the backup user to root or leak information
whether a directory exists in the filesystem.


    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.


    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.


    The SUID binary "runtar" can accept the possibly malicious GNU tar
    options if fed with some non-argument option starting with
    "--exclude" (say --exclude-vcs). The following option will be
    accepted as "good" and it could be an option passing some
    script/binary that would be executed with root permissions.

For Debian 10 buster, these problems have been fixed in version

We recommend that you upgrade your amanda packages.

For the detailed security status of amanda please refer to
its security tracker page at:

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
Comment: https://auscert.org.au/gpg-key/