Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 539044 (CVE-2015-1545, CVE-2015-1546)

Summary: <net-nds/openldap-2.4.40-r3: two DoS vulnerabilities
Product: Gentoo Security Reporter: Kristian Fiskerstrand (RETIRED) <k_f>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Severity: normal CC: ldap-bugs, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B3 [noglsa cve]
Package list:
Runtime testing required: ---
Bug Depends on: 560424    
Bug Blocks:    

Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-02-06 10:03:09 UTC
From ${URL}:

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



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.



May we have CVEs assigned to these, please?


- --
@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 (
  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 (
  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 (RETIRED) gentoo-dev 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 (RETIRED) gentoo-dev 2016-11-18 18:51:45 UTC
Stabilization of =net-nds/openldap-2.4.44 started in sec bug 560424.
Comment 5 Aaron Bauman (RETIRED) gentoo-dev 2017-01-29 07:13:55 UTC
tree is clean