CVE-2017-9287 Use after free in n/a

Medium 6.5 Published Updated

An authenticated user can crash the OpenLDAP server by sending a specific search request with a zero page size, causing a double free error.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-9287?

CVE-2017-9287 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 29 May 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

Which versions are affected by CVE-2017-9287?

It affects 10 products.

Linux distribution packages (29)
openldap Red Hat:enterprise_linux:7::clientAll versions0:2.4.44-5.el7
openldap-clients Red Hat:enterprise_linux:7::clientAll versions0:2.4.44-5.el7
openldap-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:2.4.44-5.el7
openldap-devel Red Hat:enterprise_linux:7::clientAll versions0:2.4.44-5.el7
openldap-servers Red Hat:enterprise_linux:7::clientAll versions0:2.4.44-5.el7
openldap-servers-sql Red Hat:enterprise_linux:7::clientAll versions0:2.4.44-5.el7
openldap Red Hat:enterprise_linux:7::computenodeAll versions0:2.4.44-5.el7
openldap-clients Red Hat:enterprise_linux:7::computenodeAll versions0:2.4.44-5.el7
openldap-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:2.4.44-5.el7
openldap-devel Red Hat:enterprise_linux:7::computenodeAll versions0:2.4.44-5.el7
openldap-servers Red Hat:enterprise_linux:7::computenodeAll versions0:2.4.44-5.el7
openldap-servers-sql Red Hat:enterprise_linux:7::computenodeAll versions0:2.4.44-5.el7
openldap Red Hat:enterprise_linux:7::serverAll versions0:2.4.44-5.el7
openldap-clients Red Hat:enterprise_linux:7::serverAll versions0:2.4.44-5.el7
openldap-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:2.4.44-5.el7
openldap-devel Red Hat:enterprise_linux:7::serverAll versions0:2.4.44-5.el7
openldap-servers Red Hat:enterprise_linux:7::serverAll versions0:2.4.44-5.el7
openldap-servers-sql Red Hat:enterprise_linux:7::serverAll versions0:2.4.44-5.el7
openldap Red Hat:enterprise_linux:7::workstationAll versions0:2.4.44-5.el7
openldap-clients Red Hat:enterprise_linux:7::workstationAll versions0:2.4.44-5.el7
openldap-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:2.4.44-5.el7
openldap-devel Red Hat:enterprise_linux:7::workstationAll versions0:2.4.44-5.el7
openldap-servers Red Hat:enterprise_linux:7::workstationAll versions0:2.4.44-5.el7
openldap-servers-sql Red Hat:enterprise_linux:7::workstationAll versions0:2.4.44-5.el7
openldap2 SUSE:Linux Enterprise Desktop 12 SP2All versions2.4.41-18.29.1
openldap2 SUSE:Linux Enterprise Server 12 SP2All versions2.4.41-18.29.1
openldap2 SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions2.4.41-18.29.1
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.4.41-18.29.1
openldap2 SUSE:Linux Enterprise Software Development Kit 12 SP2All versions2.4.41-18.29.1

Products include Debian Debian Linux, Mcafee Policy Auditor, Openldap Openldap, Oracle Blockchain Platform, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Eus and 4 more.

How do I fix CVE-2017-9287?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-9287 being exploited?

There is no known exploitation of CVE-2017-9287 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2017-9287, CLEANSTART-2026-ZU90005, DEBIAN-CVE-2017-9287, DLA-972-1, DSA-3868-1, GHSA-rf87-xm6q-rwxc and 5 more.

Is CVE-2017-9287 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free