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

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

                               ESB-2021.3187
                         Security update for samba
                             23 September 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           samba
Publisher:         SUSE
Operating System:  SUSE
Impact/Access:     Denial of Service        -- Remote/Unauthenticated
                   Access Confidential Data -- Existing Account      
                   Reduced Security         -- Existing Account      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-20277 CVE-2021-20254 CVE-2020-27840

Reference:         ESB-2021.1557
                   ESB-2021.1497
                   ESB-2021.1481

Original Bulletin: 
   https://www.suse.com/support/update/announcement/2021/suse-su-20213187-1

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

SUSE Security Update: Security update for samba

______________________________________________________________________________

Announcement ID:   SUSE-SU-2021:3187-1
Rating:            important
References:        #1182830 #1183572 #1183574 #1184677 #1189875
Cross-References:  CVE-2020-27840 CVE-2021-20254 CVE-2021-20277
Affected Products:
                   SUSE Linux Enterprise Module for Python2 15-SP3
                   SUSE Linux Enterprise Module for Basesystem 15-SP3
                   SUSE Linux Enterprise High Availability 15-SP3
______________________________________________________________________________

An update that solves three vulnerabilities and has two fixes is now available.

Description:

This update for samba fixes the following issues:

  o CVE-2021-20277: Fixed an out of bounds read in ldb_handler_fold (bsc#
    1183574).
  o CVE-2021-20254: Fixed a buffer overrun in sids_to_unixids() (bsc#1184677).
  o CVE-2020-27840: Fixed an unauthenticated remote heap corruption via bad DNs
    (bsc#1183572).


  o Spec file fixes around systemd and requires (bsc#1182830)
  o Fix dependency problem upgrading from libndr0 to libndr1 (bsc#1189875)
  o Fix dependency problem upgrading from libsmbldap0 to libsmbldap2 (bsc#
    1189875)

Patch Instructions:

To install this SUSE Security Update use the SUSE recommended installation
methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  o SUSE Linux Enterprise Module for Python2 15-SP3:
    zypper in -t patch SUSE-SLE-Module-Python2-15-SP3-2021-3187=1
  o SUSE Linux Enterprise Module for Basesystem 15-SP3:
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP3-2021-3187=1
  o SUSE Linux Enterprise High Availability 15-SP3:
    zypper in -t patch SUSE-SLE-Product-HA-15-SP3-2021-3187=1

Package List:

  o SUSE Linux Enterprise Module for Python2 15-SP3 (aarch64 ppc64le s390x
    x86_64):
       samba-ad-dc-4.13.6+git.211.555d60b24ba-3.7.1
       samba-ad-dc-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-debugsource-4.13.6+git.211.555d60b24ba-3.7.1
  o SUSE Linux Enterprise Module for Basesystem 15-SP3 (aarch64 ppc64le s390x
    x86_64):
       libdcerpc-binding0-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc-binding0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc-samr-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc-samr0-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc-samr0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc0-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-krb5pac-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-krb5pac0-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-krb5pac0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-nbt-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-nbt0-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-nbt0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-standard-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-standard0-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-standard0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libndr1-4.13.6+git.211.555d60b24ba-3.7.1
       libndr1-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libnetapi-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libnetapi0-4.13.6+git.211.555d60b24ba-3.7.1
       libnetapi0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-credentials-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-credentials0-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-credentials0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-errors-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-errors0-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-errors0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-hostconfig-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-hostconfig0-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-hostconfig0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-passdb-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-passdb0-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-passdb0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-policy-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-policy-python3-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-policy0-python3-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-policy0-python3-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-util-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-util0-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-util0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamdb-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsamdb0-4.13.6+git.211.555d60b24ba-3.7.1
       libsamdb0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbclient-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbclient0-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbclient0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbconf-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbconf0-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbconf0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbldap-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbldap2-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbldap2-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libtevent-util-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libtevent-util0-4.13.6+git.211.555d60b24ba-3.7.1
       libtevent-util0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libwbclient-devel-4.13.6+git.211.555d60b24ba-3.7.1
       libwbclient0-4.13.6+git.211.555d60b24ba-3.7.1
       libwbclient0-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-4.13.6+git.211.555d60b24ba-3.7.1
       samba-client-4.13.6+git.211.555d60b24ba-3.7.1
       samba-client-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-core-devel-4.13.6+git.211.555d60b24ba-3.7.1
       samba-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-debugsource-4.13.6+git.211.555d60b24ba-3.7.1
       samba-dsdb-modules-4.13.6+git.211.555d60b24ba-3.7.1
       samba-dsdb-modules-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-libs-4.13.6+git.211.555d60b24ba-3.7.1
       samba-libs-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-libs-python3-4.13.6+git.211.555d60b24ba-3.7.1
       samba-libs-python3-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-python3-4.13.6+git.211.555d60b24ba-3.7.1
       samba-python3-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-winbind-4.13.6+git.211.555d60b24ba-3.7.1
       samba-winbind-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
  o SUSE Linux Enterprise Module for Basesystem 15-SP3 (aarch64 x86_64):
       samba-ceph-4.13.6+git.211.555d60b24ba-3.7.1
       samba-ceph-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
  o SUSE Linux Enterprise Module for Basesystem 15-SP3 (x86_64):
       libdcerpc-binding0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc-binding0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libdcerpc0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-krb5pac0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-krb5pac0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-nbt0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-nbt0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-standard0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libndr-standard0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libndr1-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libndr1-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libnetapi0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libnetapi0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-credentials0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-credentials0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-errors0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-errors0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-hostconfig0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-hostconfig0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-passdb0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-passdb0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-util0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libsamba-util0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsamdb0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libsamdb0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbconf0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbconf0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbldap2-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libsmbldap2-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libtevent-util0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libtevent-util0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       libwbclient0-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       libwbclient0-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-libs-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       samba-libs-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-winbind-32bit-4.13.6+git.211.555d60b24ba-3.7.1
       samba-winbind-32bit-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
  o SUSE Linux Enterprise High Availability 15-SP3 (aarch64 ppc64le s390x
    x86_64):
       ctdb-4.13.6+git.211.555d60b24ba-3.7.1
       ctdb-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-debuginfo-4.13.6+git.211.555d60b24ba-3.7.1
       samba-debugsource-4.13.6+git.211.555d60b24ba-3.7.1


References:

  o https://www.suse.com/security/cve/CVE-2020-27840.html
  o https://www.suse.com/security/cve/CVE-2021-20254.html
  o https://www.suse.com/security/cve/CVE-2021-20277.html
  o https://bugzilla.suse.com/1182830
  o https://bugzilla.suse.com/1183572
  o https://bugzilla.suse.com/1183574
  o https://bugzilla.suse.com/1184677
  o https://bugzilla.suse.com/1189875

- --------------------------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: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYUvTuuNLKJtyKPYoAQhCOg/+LpBDWDnTj/nFeZZ7D/9usaYgn3ULVGeG
5FrAjvF9MKuC2mnumnTQu4ehbxV7V1SEgJR/MKLryzFYlmaVm3R24qTwhph8+mzu
ohGzHuLjZ0ZsiPPr4Zuk4MRRNGQ5WYmgzF7m+eIa7MT5iNvFXru7IgeohyuYayFc
r6RE4nO8Ex7F5fJKg4f8RIRfFP6aRq2u9yl+76BRArtVfk9Hd4W8jSCi5TLu3u6I
JebjJAVz98zF6cFD3QIErmaYlGrCWNkYpIdYuOjbpavIQyBdOb+sWZxiM67nTKui
aPOONsyPTo504Y2inoRbCSv8r5NAeLcuvF1b362VsgoZtncHOW0xOlfWsCJJmCU+
7LiuBh7fV3VQ8u4LJSij3aM8qVIWydcKsP3ETNI6Z/Va7eN5d/ShxmXVM4hvAZAD
gS5n5+0kxRR8vUSJWm8IQvayemF33r7oDyCZ0sq/5Fr3OuGBGGgPMbQGm66f0B7Z
qQU97e5Cmo5Eg5PiFhVVss1uVJF4seqGSgeQQH+UoqaQD+28RjEkFQuPliFlEDDP
/YCRA+Jg3x69sVt1ORmcgTvYws+frzKoxyvkdlG/xKbL/WCOqd5vXmuTTd+5qolt
PkQEU8AG40kqFuUT+hFOnLrtcNJRYZsV2G4ihoviCAEZ3Ku4gnQRTOkc3Hggk4U5
iNoor41kovc=
=z35x
-----END PGP SIGNATURE-----