Vulnerability · Published May 4, 2022 · Assigned by mitre
CVE-2022-29155
Critical 9.8
In plain English
A critical-severity security flaw in the openldap package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 64.5% (higher than 99.2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)64.5%top 0.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | openldap | 2.6.2-r0 | ALPINE-CVE-2022-29155 |
| Alpine:v3.21 | openldap | 2.6.2-r0 | ALPINE-CVE-2022-29155 |
| Alpine:v3.22 | openldap | 2.6.2-r0 | ALPINE-CVE-2022-29155 |
| Alpine:v3.23 | openldap | 2.6.2-r0 | ALPINE-CVE-2022-29155 |
| Alpine:v3.24 | openldap | 2.6.2-r0 | ALPINE-CVE-2022-29155 |
| Debian:12 | openldap | 2.5.12+dfsg-1 | DEBIAN-CVE-2022-29155 |
| Debian:13 | openldap | 2.5.12+dfsg-1 | DEBIAN-CVE-2022-29155 |
| Debian:14 | openldap | 2.5.12+dfsg-1 | DEBIAN-CVE-2022-29155 |
| Ubuntu:22.04:LTS | openldap | 2.5.11+dfsg-1~exp1ubuntu3.1 | UBUNTU-CVE-2022-29155 |
| Ubuntu:22.04:LTS | openldap | 2.5.11+dfsg-1~exp1ubuntu3.1 | USN-5424-1 |
Affected products (as reported)
References
- https://bugs.openldap.org/show_bug.cgi?id=9815 x_refsource_MISC
- DSA-5140 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20220524 [SECURITY] [DLA 3017-1] openldap security update mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20220609-0007/ x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html