-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2023.7238
                          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: 
   https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html

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.

CVE-2022-37703

    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.


CVE-2022-37705

    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.

CVE-2023-30577

    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
1:3.5.1-2+deb10u2.

We recommend that you upgrade your amanda packages.

For the detailed security status of amanda please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/amanda

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:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
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.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBZW027MkNZI30y1K9AQjRbA//VzfEMiu26aNwsR62cGq1k5esd5PQjQSW
e8gGiBZGLFgIY0qx5ViYDBNZ9OMYLVn/898iWndkcqX8N3YhlmM/kHsApx+VeqhW
wtD/Fa3r/+BxYyZcT/VcvxdxnawyioVgml+/ZgtDFjYwfWW5CmtVvn8RNdhQh0N0
e+8kFhJ/VBDwgxg500ynKam2rjBimExa5A1KBL6epD/9kt4xCOmGsNcUKwzIlOtB
Jh/axie/xbQVERD5I1FdGxJuKCNnpjwbwaJwuFFgMQH8H/xx43rUn0HK4KtV58QT
zuAsaNr7ffjDLsJj1g7fpK7zvDc/Qv5UO5LiI6S1xWY/sCKwtXd8SM9qpt40gI9m
67jbN4A21cADbiHcGGuvJWYUJmqCJY/4si4wRT2XDJfkECaUQcYATrqO7OI3Kz6Q
dS7lmi7oKSD+hg+uB2J8qytvjGuB7mxe5B8oKw/tcW+9Qca3NDqncgCm1suN9muU
DAZy6kEkMyGYaodaxXfRcsHCRSmlmB1DOIzEcOkj61kH9bB6NpmsHo6X182unUZC
ZfGXzezirHM2aq+j6t4+tsxX9ATaTXewjjqtX/FHgE/Fvz+VcxIhiJyrRhsEY+Dy
Clw9tilJrISur/0l9Oo3nrNy7u5jX8ZqdSCTnooGd0t0xDNOzipHXeU0eslkubUR
LqaIoOOl4Z4=
=RHy9
-----END PGP SIGNATURE-----