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

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

                               ESB-2021.1027
                      USN-4888-1: ldb vulnerabilities
                               25 March 2021

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

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

Product:           ldb
Publisher:         Ubuntu
Operating System:  Ubuntu
                   Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-20277 CVE-2020-27840 

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-4888-1

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Ubuntu. It is recommended that administrators 
         running ldb check for an updated version of the software for their 
         operating system.

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

USN-4888-1: ldb vulnerabilities
24 March 2021

Several security issues were fixed in ldb.
Releases

  o Ubuntu 20.10
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS

Packages

  o ldb - None

Details

Douglas Bagnall discovered that ldb, when used with Samba, incorrectly
handled certain LDAP attributes. A remote attacker could possibly use this
issue to cause the LDAP server to crash, resulting in a denial of service.
( CVE-2021-20277 )

Douglas Bagnall discovered that ldb, when used with Samba, incorrectly
handled certain DN strings. A remote attacker could use this issue to
cause the LDAP server to crash, resulting in a denial of service, or
possibly execute arbitrary code. ( CVE-2020-27840 )

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 20.10

  o libldb2 - 2:2.1.4-2ubuntu0.1

Ubuntu 20.04

  o libldb2 - 2:2.0.10-0ubuntu0.20.04.3

Ubuntu 18.04

  o libldb1 - 2:1.2.3-1ubuntu0.2

Ubuntu 16.04

  o libldb1 - 2:1.1.24-1ubuntu3.2

After a standard system update you need to restart applications using ldb,
such as Samba, to make all the necessary changes.

References

  o CVE-2021-20277
  o CVE-2020-27840

- --------------------------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

iQIVAwUBYFvqf+NLKJtyKPYoAQhtBBAAgJVEwI4qFZWy3xxnMsEaKrkae1Z9L0Lm
DTPawXwZlnVZEfN8kVrF5uo1za6df1UPM6uCharENcs6c/0gQaDt74ZF219BdZ1F
kwwO3CJnKPvoNZLUvpHRmujprTbeW4vNly+/BH/eAFBUemO7q/9hvEj/Ap9bUaa4
KsHgPSL98RUv0X2Ki2Z/kbckuEbk148iTuSnSXgKXzsu70HJDVs51peOEcIXmDlv
fEg+WF6M2p+Brb7rqhAkZyH9XSf3idFVVpzh9GTR4jr6VfZ08NANcdope5VsmoXO
PgzIfaL7T4Jt7ixIlq3Lm5clr0bU2AppVpEezqKXHFIXVFF6EVlOjPYpSxYbOpj3
HgazA6h3MdIzJM0M1Cu9KxyqOuwoJztLJ2rR/F56FNW0oE7SQTKrEdihgw79zD/w
w8QhpelrHV2h9q9kJbdDPlKZEbxhIh036/PdrawRWQAUlvJ92xalDW3wF3Ri892I
grla2JXipC9gjdufcVOOlYiAofLgideUQ/8uAP+7rNAOLHHatwGNRVDPWsqYFFEy
UpL7j38EngiMo3fsqT5n9GdIOIlFbiUe/UgogkEB0g2RgYeK9LBYKtMklaxVFSsp
xD6etvtpo5YokXPORg1AxCV/elPQdZAadtMDWZpI8FTPn5R3KGEKWQ2TynvwWkz0
EF/jYinnhr0=
=rfva
-----END PGP SIGNATURE-----