Vulnerability Name:

CVE-2022-29155 (CCN-225807)

Assigned:2022-03-23
Published:2022-03-23
Updated:2022-10-06
Summary: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 v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
9.4 Critical (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
6.5 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N)
6.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.4 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-89
Vulnerability Consequences:Data Manipulation
References:Source: MITRE
Type: CNA
CVE-2022-29155

Source: CCN
Type: OpenLDAP Issue Tracking System – Issue 9815
Serious SQL injection vulnerability in back-sql

Source: MISC
Type: Exploit, Issue Tracking, Vendor Advisory
https://bugs.openldap.org/show_bug.cgi?id=9815

Source: XF
Type: UNKNOWN
openldap-cve202229155-sql-injection(225807)

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20220524 [SECURITY] [DLA 3017-1] openldap security update

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20220609-0007/

Source: DEBIAN
Type: Third Party Advisory
DSA-5140

Vulnerable Configuration:Configuration 1:
  • cpe:/a:openldap:openldap:*:*:*:*:*:*:*:* (Version >= 2.6.0 and < 2.6.2)
  • OR cpe:/a:openldap:openldap:*:*:*:*:*:*:*:* (Version >= 2.0 and < 2.5.12)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:11.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
  • AND
  • cpe:/h:netapp:h300s:-:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
  • AND
  • cpe:/h:netapp:h500s:-:*:*:*:*:*:*:*

  • Configuration 5:
  • cpe:/o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
  • AND
  • cpe:/h:netapp:h700s:-:*:*:*:*:*:*:*

  • Configuration 6:
  • cpe:/o:netapp:h700e_firmware:-:*:*:*:*:*:*:*
  • AND
  • cpe:/h:netapp:h700e:-:*:*:*:*:*:*:*

  • Configuration 7:
  • cpe:/o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
  • AND
  • cpe:/h:netapp:h410s:-:*:*:*:*:*:*:*

  • Configuration 8:
  • cpe:/o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
  • AND
  • cpe:/h:netapp:h410c:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:openldap:openldap:2.3.39:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.3.41:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.3.42:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.22:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.23:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.24:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.25:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.26:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.27:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.28:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.29:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.30:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.10:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.11:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.12:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.13:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.14:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.15:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.16:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.17:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.18:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.19:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.20:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.21:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.31:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.6:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.7:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.8:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.9:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.36:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.32:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.33:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.34:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.35:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.37:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.38:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.39:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.40:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.42:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.44:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.45:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.47:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.55:*:*:*:*:*:*:*
  • OR cpe:/a:openldap:openldap:2.4.56:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:8047
    P
    openldap2-devel-32bit-2.4.46-150200.14.11.2 on GA media (Moderate)
    2023-06-20
    oval:org.opensuse.security:def:7609
    P
    libldap-2_4-2-2.4.46-150200.14.11.2 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3687
    P
    libthai-data-0.1.25-4.2 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3600
    P
    libgraphite2-3-1.3.1-10.3.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:5253
    P
    Security update for openldap2 (Important)
    2022-05-20
    oval:org.opensuse.security:def:125714
    P
    Security update for openldap2 (Important)
    2022-05-20
    oval:org.opensuse.security:def:6047
    P
    Security update for openldap2 (Important)
    2022-05-20
    oval:org.opensuse.security:def:126879
    P
    Security update for openldap2 (Important)
    2022-05-20
    oval:org.opensuse.security:def:127276
    P
    Security update for openldap2 (Important)
    2022-05-20
    oval:org.opensuse.security:def:118894
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:94444
    P
    (Important)
    2022-05-16
    oval:org.opensuse.security:def:93135
    P
    (Important)
    2022-05-16
    oval:org.opensuse.security:def:888
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:125710
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:93809
    P
    (Important)
    2022-05-16
    oval:org.opensuse.security:def:479
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:119201
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:95230
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:93295
    P
    (Important)
    2022-05-16
    oval:org.opensuse.security:def:1166
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:94023
    P
    (Important)
    2022-05-16
    oval:org.opensuse.security:def:42283
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:119391
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:95317
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:93453
    P
    (Important)
    2022-05-16
    oval:org.opensuse.security:def:1233
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:118704
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:94235
    P
    (Important)
    2022-05-16
    oval:org.opensuse.security:def:42382
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:119576
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:4754
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:93607
    P
    (Important)
    2022-05-16
    BACK
    openldap openldap *
    openldap openldap *
    debian debian linux 9.0
    debian debian linux 10.0
    debian debian linux 11.0
    netapp h300s firmware -
    netapp h300s -
    netapp h500s firmware -
    netapp h500s -
    netapp h700s firmware -
    netapp h700s -
    netapp h700e firmware -
    netapp h700e -
    netapp h410s firmware -
    netapp h410s -
    netapp h410c firmware -
    netapp h410c -
    openldap openldap 2.3.39
    openldap openldap 2.3.41
    openldap openldap 2.3.42
    openldap openldap 2.4.22
    openldap openldap 2.4.23
    openldap openldap 2.4.24
    openldap openldap 2.4.25
    openldap openldap 2.4.26
    openldap openldap 2.4.27
    openldap openldap 2.4.28
    openldap openldap 2.4.29
    openldap openldap 2.4.30
    openldap openldap 2.4.10
    openldap openldap 2.4.11
    openldap openldap 2.4.12
    openldap openldap 2.4.13
    openldap openldap 2.4.14
    openldap openldap 2.4.15
    openldap openldap 2.4.16
    openldap openldap 2.4.17
    openldap openldap 2.4.18
    openldap openldap 2.4.19
    openldap openldap 2.4.20
    openldap openldap 2.4.21
    openldap openldap 2.4.31
    openldap openldap 2.4.6
    openldap openldap 2.4.7
    openldap openldap 2.4.8
    openldap openldap 2.4.9
    openldap openldap 2.4.36
    openldap openldap 2.4.32
    openldap openldap 2.4.33
    openldap openldap 2.4.34
    openldap openldap 2.4.35
    openldap openldap 2.4.37
    openldap openldap 2.4.38
    openldap openldap 2.4.39
    openldap openldap 2.4.40
    openldap openldap 2.4.42
    openldap openldap 2.4.44
    openldap openldap 2.4.45
    openldap openldap 2.4.47
    openldap openldap 2.4
    openldap openldap 2.4.55
    openldap openldap 2.4.56