CVE Vulnerabilities

CVE-2017-9287

Double Free

Published: May 29, 2017 | Modified: Jun 13, 2022
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Openldap Openldap * 2.4.44 (including)
Red Hat Enterprise Linux 7 RedHat openldap-0:2.4.44-5.el7 *
Openldap Ubuntu trusty *
Openldap Ubuntu upstream *
Openldap Ubuntu vivid/stable-phone-overlay *
Openldap Ubuntu vivid/ubuntu-core *
Openldap Ubuntu xenial *
Openldap Ubuntu yakkety *
Openldap Ubuntu zesty *

Potential Mitigations

References