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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openldap | Alpine | 2.6.2-r0 |
| openldap | Bitnami | 2.6.2, 2.5.12 |
| openldap | Arch Linux | 2.6.2-1 |
| openldap-servers-sql | Amazon Linux | 2.4.44-23.amzn2.0.4 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| openldap | openldap | 2.6.2, 2.5.12 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| openldap | Bitnami | 2.6.2, 2.5.12 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | openldap | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| arch | openldap | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2 | openldap-servers-sql | 0 |
| n/a | n/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
- x_refsource_MISC
- DSA-5140 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20220524 [SECURITY] [DLA 3017-1] openldap security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url