SQL Injection Affecting openldap-servers-sql package, versions <0:2.4.44-23.amzn2.0.4


Severity

Recommended
critical

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    1.3% (86th 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 ID SNYK-AMZN2-OPENLDAPSERVERSSQL-3327809
  • published 22 Feb 2023
  • disclosed 4 May 2022

How to fix?

Upgrade Amazon-Linux:2 openldap-servers-sql to version 0:2.4.44-23.amzn2.0.4 or higher.
This issue was patched in ALAS2-2023-1958.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openldap-servers-sql package and not the openldap-servers-sql package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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
Expand this section

NVD

9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

Red Hat

6.5 medium
Expand this section

SUSE

9.4 critical