-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2016.0392
            Important: 389-ds-base security and bug fix update
                             17 February 2016

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

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

Product:           389-ds-base
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-0741  

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2016-0204.html

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

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: 389-ds-base security and bug fix update
Advisory ID:       RHSA-2016:0204-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2016-0204.html
Issue date:        2016-02-16
CVE Names:         CVE-2016-0741 
=====================================================================

1. Summary:

Updated 389-ds-base packages that fix one security issue and several bugs
are now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Important security
impact. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available from the CVE link in the
References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64le, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64le, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

The 389 Directory Server is an LDAP version 3 (LDAPv3) compliant server.
The base packages include the Lightweight Directory Access Protocol (LDAP)
server and command-line utilities for server administration.

An infinite-loop vulnerability was discovered in the 389 directory server,
where the server failed to correctly handle unexpectedly closed client
connections. A remote attacker able to connect to the server could use this
flaw to make the directory server consume an excessive amount of CPU and
stop accepting connections (denial of service). (CVE-2016-0741)

This update fixes the following bugs:

* Previously, if a simple paged results search failed in the back end, the
simple paged results slot was not released. Consequently, the simple paged
results slots in a connection object could be accumulated. With this
update, the simple paged results slot is released correctly when a search
fails, and unused simple paged results slots are no longer left in a
connection object. (BZ#1290725)

* Previously, when several values of the same attribute were deleted using
the ldapmodify command, and at least one of them was added again during the
same operation, the equality index was not updated. As a consequence, an
exact search for the re-added attribute value did not return the entry. The
logic of the index code has been modified to update the index if at least
one of the values in the entry changes, and the exact search for the
re-added attribute value now returns the correct entry. (BZ#1290726)

* Prior to this update, when the cleanAllRUV task was running, a bogus
attrlist_replace error message was logged repeatedly due to a memory
corruption. With this update, the appropriate memory copy function memmove
is used, which fixes the memory corruption. As a result, the error messages
are no longer logged in this scenario. (BZ#1295684)

* To fix a simple paged results bug, an exclusive lock on a connection was
previously added. This consequently caused a self deadlock in a particular
case. With this update, the exclusive lock on a connection has been changed
to the re-entrant type, and the self deadlock no longer occurs.
(BZ#1298105)

* Previously, an unnecessary lock was sometimes acquired on a connection
object, which could consequently cause a deadlock. A patch has been applied
to remove the unnecessary locking, and the deadlock no longer occurs.
(BZ#1299346)

Users of 389-ds-base are advised to upgrade to these updated packages,
which correct these issues. After installing this update, the 389 server
service will be restarted automatically.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1290725 - SimplePagedResults -- in the search error case, simple paged results slot was not released.
1290726 - The 'eq' index does not get updated properly when deleting and re-adding attributes in the same ldapmodify operation
1295684 - many attrlist_replace errors in connection with cleanallruv
1299346 - deadlock on connection mutex
1299416 - CVE-2016-0741 389-ds-base: worker threads do not detect abnormally closed connections causing DoS

6. Package List:

Red Hat Enterprise Linux Client Optional (v. 7):

Source:
389-ds-base-1.3.4.0-26.el7_2.src.rpm

x86_64:
389-ds-base-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-debuginfo-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-devel-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-libs-1.3.4.0-26.el7_2.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

Source:
389-ds-base-1.3.4.0-26.el7_2.src.rpm

x86_64:
389-ds-base-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-debuginfo-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-devel-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-libs-1.3.4.0-26.el7_2.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
389-ds-base-1.3.4.0-26.el7_2.src.rpm

ppc64le:
389-ds-base-1.3.4.0-26.el7_2.ppc64le.rpm
389-ds-base-debuginfo-1.3.4.0-26.el7_2.ppc64le.rpm
389-ds-base-libs-1.3.4.0-26.el7_2.ppc64le.rpm

x86_64:
389-ds-base-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-debuginfo-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-libs-1.3.4.0-26.el7_2.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

ppc64le:
389-ds-base-debuginfo-1.3.4.0-26.el7_2.ppc64le.rpm
389-ds-base-devel-1.3.4.0-26.el7_2.ppc64le.rpm

x86_64:
389-ds-base-debuginfo-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-devel-1.3.4.0-26.el7_2.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
389-ds-base-1.3.4.0-26.el7_2.src.rpm

x86_64:
389-ds-base-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-debuginfo-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-libs-1.3.4.0-26.el7_2.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

x86_64:
389-ds-base-debuginfo-1.3.4.0-26.el7_2.x86_64.rpm
389-ds-base-devel-1.3.4.0-26.el7_2.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2016-0741
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2016 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFWwyP0XlSAg2UNWIIRAk1XAJ9wLhd9CR6Yp07m9KM395nCZkWLXQCfas4M
gTXdY+3jlwBM9R2+Zn3hGoc=
=hCR4
- -----END PGP SIGNATURE-----

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

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBVsPDtH6ZAP0PgtI9AQJdMxAAk+bh71SAM7CC/NQezRZPE5R/qCWLmTLk
gdkB6fBM29fUQmw69vGdlWmApuY6foUrpL4epLhFnjxcKSd7nNXnwU3fictYBUnS
VAPo0DuccNr0V0EOcrYLxQUf+6nHgTZJDBl1bgzze9DfM50DKp3bnKwYmLMyweGL
cqyB6ewX5DbdNuUVh1F7rdCRmXa1H8oYJVd6AB4noulMgrES06Uu1YltlIYXCmNz
zZ07ZAFdX1x3odlQLdrwP6ufuVvlznfW+2LeMuHtssczQ8Hk63lTBZ3ejhXUucny
A34i17WR0rcbT4HMC+aNFgJN2G1NZBpJ0EuehQTQ2z5aHgYGC9bRbzPiR6Yp1vv4
gRkAydrWqIXQ6kCrv9jYCecEAK3FtZZPANEP9XGRQ0GQkGhmv1Y4zxSmZTG1OuB0
6InGGUdwQ3+QetTFqKRAQVtsfzSRGv6MvDsPMC44rLVO2424NUCAZSM3vT8QFRLi
6qi/FLkkRWrrS63AOeRz7MjwyzGkm38VOVojOyGRQz6nClLntjrAPVF52xzn4LdP
XB7Nf9GqnUudyzF2TPgrx6K8rtKIU7FFqBxts7DVGqDlYHUgdbnyheS8xS4G5BTY
llB/7FF+ortvwR0CE8oTm3KHOcLDZVDrLAQ+/I5tBD9fmxj9b3xXp3bUzPFHUj5T
14OjQHMwJ2w=
=skfC
-----END PGP SIGNATURE-----