VDB

CVE-2022-29155

CVE-2022-29155 PUBLISHED

Reported by mitre · Published May 4, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
openldapAlpine2.6.2-r0
openldapBitnami2.6.2, 2.5.12
openldapArch Linux2.6.2-1
openldap-servers-sqlAmazon Linux2.4.44-23.amzn2.0.4
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
openldapopenldap2.6.2, 2.5.12
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
openldapBitnami2.6.2, 2.5.12

Affected products

VendorProductVersions
n/an/an/a
alpineopenldap0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
archopenldap0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2openldap-servers-sql0
n/an/a*

Timeline

  • May 4, 2022 CVE Published
  • May 5, 2022 EPSS Score (30 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jun 1, 2026 Security Advisory (4 in total, the first dated here)
  • Jun 27, 2026 Coalition ESS Score
  • Aug 10, 2026 Distribution Patch (3 in total, the first dated here)
  • Sep 8, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-29155
vulnetix vdb fixes CVE-2022-29155

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-29155/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›