Skip to content
Fencer Intel
critical 9.8

CVE-2022-29155 in the critical feed json

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, v…

published 4y ago modified 26d ago also BIT-openldap-2022-29155 , EUVD-2022-33563 , JLSEC-2026-174

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
64.5%
EPSS 64.5% chance of exploitation in 30 days, percentile 99.2%
public exploits
0
none known

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.

Patch / fix

  • bitnami openldap 2.5.12, 2.6.2
  • julia OpenLDAPClient_jll 2.5.14+0
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • openldap Debian 14, Debian 13, Debian 12 2.5.12+dfsg-1

debian advisories DEBIAN-CVE-2022-29155

  • openldap Ubuntu 18.04 LTS 2.4.45+dfsg-1ubuntu1.11
  • openldap Ubuntu 20.04 LTS 2.4.49+dfsg-2ubuntu1.9
  • openldap Ubuntu 22.04 LTS 2.5.11+dfsg-1~exp1ubuntu3.1
  • openldap Ubuntu Pro 14.04 LTS 2.4.31-1+nmu2ubuntu8.5+esm5
  • openldap Ubuntu Pro 16.04 LTS 2.4.42+dfsg-2ubuntu3.13+esm1

ubuntu advisories UBUNTU-CVE-2022-29155

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openldap2 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +7 more 2.4.46-150000.9.71.1
  • openldap2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +4 more 2.4.41-22.10.1
  • openldap2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +1 more 2.4.41-42.1
  • openldap2 SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 2.4.41-18.89.1
  • openldap2 SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +15 more 2.4.46-150200.14.8.1

suse advisories SUSE-SU-2022:1832-1SUSE-SU-2022:1771-1SUSE-SU-2022:1685-1SUSE-SU-2022:1671-1SUSE-SU-2022:1670-1

  • openldap Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 2.6.2-r0

alpine advisories ALPINE-CVE-2022-29155

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openldap CBL-Mariner 2.0 2.4.57-7

azure linux advisories AZL-9672

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • openldap Arch Linux 2.6.2-1

arch linux advisories AVG-2724

Is CVE-2022-29155 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-29155 updated cvss 6.5

openldap: OpenLDAP SQL injection

  • Red Hat Enterprise Linux 6 openldap, compat-openldap, openldap-clients, openldap-servers, openldap-servers-sql Red Hat Enterprise Linux 7 openldap, compat-openldap, openldap-clients, openldap-servers, openldap-servers-sql
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 openldap, openldap-clients, openldap-servers Red Hat Enterprise Linux 9 openldap, openldap-compat, openldap-clients
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 9.8

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

64.49% chance of exploitation in the next 30 days, higher than 99.2% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugs.openldap.org https://bugs.openldap.org/show_bug.cgi?id=9815 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami openldap
>=2.0.0, <2.5.12
>=2.6.0, <2.6.2
2.5.12
2.6.2
julia OpenLDAPClient_jll
<2.5.14+0
2.5.14+0

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.