SQL Injection Affecting openldap package, versions <2.6.2-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.54% (88th 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-ALPINE315-OPENLDAP-2863511
  • published9 Jun 2022
  • disclosed4 May 2022

Introduced: 4 May 2022

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

How to fix?

Upgrade Alpine:3.15 openldap to version 2.6.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openldap package and not the openldap package as distributed by Alpine. See How to fix? for Alpine:3.15 relevant fixed versions and status.

In OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2, a SQL injection vulnerability exists 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 Scores

version 3.1