SQL Injection Affecting openldap package, versions [2.6.1,2.6.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
20.93% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-OPENLDAP-10077991
  • published8 May 2025
  • disclosed4 May 2022
  • creditUnknown

Introduced: 4 May 2022

CVE-2022-29155  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade openldap to version 2.6.7 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection in the experimental back-sql backend to slapd, via a SQL statement within an LDAP query. This can occur during an LDAP search operation when the search filter is processed, due to a lack of proper escaping.

CVSS Base Scores

version 3.1