Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539044 (CVE-2015-1545, CVE-2015-1546) - <net-nds/openldap-2.4.40-r3: two DoS vulnerabilities
Summary: <net-nds/openldap-2.4.40-r3: two DoS vulnerabilities
Status: RESOLVED FIXED
Alias: CVE-2015-1545, CVE-2015-1546
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: http://seclists.org/oss-sec/2015/q1/439
Whiteboard: B3 [noglsa cve]
Keywords:
Depends on: CVE-2015-6908
Blocks:
  Show dependency tree
 
Reported: 2015-02-06 10:03 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2017-01-29 07:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-02-06 10:03:09 UTC
From ${URL}:
Hi,

OpenLDAP slapd has two bugs that allow a remote unauthenticated client to crash the LDAP server.

The deref overlay in slapd 2.4.13 through 2.4.40 dereferences a NULL pointer when a search request includes the Deref control with an empty list of attributes to return (missing input validation).

Fix:
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commitdiff;h=c32e74763f77675b9e144126e375977ed6dc562c

References:
http://www.openldap.org/its/?findid=8027
http://bugs.debian.org/776988

Certain search queries including the Matched Values control can trigger a double free in slapd 2.4.40 when freeing operation controls. This is a regression in 2.4.40, no earlier releases are affected.

Fix:
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commitdiff;h=2f1a2dd329b91afe561cd06b872d09630d4edb6a

References:
http://www.openldap.org/its/?findid=8046
http://bugs.debian.org/776991

May we have CVEs assigned to these, please?

thanks,
Ryan 

- --
@maintainers: openldap 2.4.40 is already in tree, is net-nds/openldap-2.4.40-r3 (or another revision) ready for stabilization?
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2015-02-13 09:38:29 UTC
CVE-2015-1546 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-1546):
  Double free vulnerability in the get_vrFilter function in
  servers/slapd/filter.c in OpenLDAP 2.4.13 through 2.4.40 allows remote
  attackers to cause a denial of service (crash) via a crafted search query
  with a matched values control.

CVE-2015-1545 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-1545):
  The deref_parseCtrl function in servers/slapd/overlays/deref.c in OpenLDAP
  2.4.13 through 2.4.40 allows remote attackers to cause a denial of service
  (NULL pointer dereference and crash) via an empty attribute list in a deref
  control in a search request.
Comment 2 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2016-07-04 11:52:25 UTC
Anyone want to stabilize here?
Comment 3 Pacho Ramos gentoo-dev 2016-09-14 14:03:29 UTC
I would try with 2.4.44 to not load more the arch teams later stabilizing a newer one :/
Comment 4 Thomas Deutschmann gentoo-dev Security 2016-11-18 18:51:45 UTC
Stabilization of =net-nds/openldap-2.4.44 started in sec bug 560424.
Comment 5 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2017-01-29 07:13:55 UTC
tree is clean