Name | CVE-2022-29155 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3017-1, DSA-5140-1, ELA-618-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
openldap (PTS) | jessie, jessie (lts) | 2.4.40+dfsg-1+deb8u11 | fixed |
stretch (security), stretch (lts), stretch | 2.4.44+dfsg-5+deb9u9 | fixed | |
buster (security), buster, buster (lts) | 2.4.47+dfsg-3+deb10u7 | fixed | |
bullseye (security), bullseye | 2.4.57+dfsg-3+deb11u1 | fixed | |
bookworm | 2.5.13+dfsg-5 | fixed | |
sid, trixie | 2.5.18+dfsg-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
openldap | source | jessie | 2.4.40+dfsg-1+deb8u11 | ELA-618-1 | ||
openldap | source | stretch | 2.4.44+dfsg-5+deb9u9 | DLA-3017-1 | ||
openldap | source | buster | 2.4.47+dfsg-3+deb10u7 | DSA-5140-1 | ||
openldap | source | bullseye | 2.4.57+dfsg-3+deb11u1 | DSA-5140-1 | ||
openldap | source | (unstable) | 2.5.12+dfsg-1 |
https://bugs.openldap.org/show_bug.cgi?id=9815
https://git.openldap.org/openldap/openldap/-/commit/87df6c19915042430540931d199a39105544a134 (master)
https://git.openldap.org/openldap/openldap/-/commit/40f3ae4f5c9a8baf75b237220f62c436a571d66e (OPENLDAP_REL_ENG_2_5_12)
back-sql backend to slapd is enabled but considered experimental upstream.