CVE-2022-29155

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-29155
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-29155.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-29155
Aliases
Related
Published
2022-05-04T20:15:07Z
Modified
2024-12-05T15:33:59.130590Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.15 / openldap

Package

Name
openldap
Purl
pkg:apk/alpine/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.2-r0

Affected versions

2.*

2.4.11-r0
2.4.16-r0
2.4.16-r1
2.4.16-r2
2.4.18-r0
2.4.19-r0
2.4.19-r1
2.4.19-r2
2.4.19-r3
2.4.19-r4
2.4.19-r5
2.4.21-r0
2.4.21-r1
2.4.21-r2
2.4.21-r3
2.4.23-r0
2.4.23-r1
2.4.24-r0
2.4.24-r1
2.4.24-r2
2.4.24-r3
2.4.25-r0
2.4.25-r1
2.4.25-r2
2.4.26-r0
2.4.26-r1
2.4.26-r2
2.4.26-r3
2.4.26-r4
2.4.28-r0
2.4.28-r2
2.4.28-r3
2.4.30-r0
2.4.31-r0
2.4.31-r1
2.4.31-r2
2.4.31-r3
2.4.32-r0
2.4.32-r1
2.4.32-r2
2.4.33-r0
2.4.34-r0
2.4.35-r0
2.4.35-r1
2.4.35-r2
2.4.36-r0
2.4.36-r1
2.4.36-r2
2.4.37-r0
2.4.38-r0
2.4.38-r1
2.4.39-r0
2.4.39-r1
2.4.40-r0
2.4.40-r1
2.4.40-r2
2.4.40-r3
2.4.40-r4
2.4.40-r5
2.4.41-r0
2.4.42-r0
2.4.42-r1
2.4.43-r0
2.4.44-r0
2.4.44-r1
2.4.44-r2
2.4.44-r3
2.4.44-r4
2.4.44-r5
2.4.45-r0
2.4.45-r1
2.4.45-r2
2.4.45-r3
2.4.45-r4
2.4.46-r0
2.4.46-r1
2.4.46-r2
2.4.47-r2
2.4.47-r3
2.4.48-r0
2.4.48-r1
2.4.48-r2
2.4.48-r3
2.4.48-r4
2.4.49-r0
2.4.49-r1
2.4.49-r2
2.4.49-r3
2.4.50-r0
2.4.50-r1
2.4.50-r2
2.4.51-r0
2.4.52-r0
2.4.54-r0
2.4.56-r0
2.4.57-r0
2.4.57-r1
2.4.58-r0
2.4.59-r0
2.4.59-r1
2.4.59-r2
2.4.59-r3
2.6.0-r0

Alpine:v3.16 / openldap

Package

Name
openldap
Purl
pkg:apk/alpine/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.2-r0

Affected versions

2.*

2.4.11-r0
2.4.16-r0
2.4.16-r1
2.4.16-r2
2.4.18-r0
2.4.19-r0
2.4.19-r1
2.4.19-r2
2.4.19-r3
2.4.19-r4
2.4.19-r5
2.4.21-r0
2.4.21-r1
2.4.21-r2
2.4.21-r3
2.4.23-r0
2.4.23-r1
2.4.24-r0
2.4.24-r1
2.4.24-r2
2.4.24-r3
2.4.25-r0
2.4.25-r1
2.4.25-r2
2.4.26-r0
2.4.26-r1
2.4.26-r2
2.4.26-r3
2.4.26-r4
2.4.28-r0
2.4.28-r2
2.4.28-r3
2.4.30-r0
2.4.31-r0
2.4.31-r1
2.4.31-r2
2.4.31-r3
2.4.32-r0
2.4.32-r1
2.4.32-r2
2.4.33-r0
2.4.34-r0
2.4.35-r0
2.4.35-r1
2.4.35-r2
2.4.36-r0
2.4.36-r1
2.4.36-r2
2.4.37-r0
2.4.38-r0
2.4.38-r1
2.4.39-r0
2.4.39-r1
2.4.40-r0
2.4.40-r1
2.4.40-r2
2.4.40-r3
2.4.40-r4
2.4.40-r5
2.4.41-r0
2.4.42-r0
2.4.42-r1
2.4.43-r0
2.4.44-r0
2.4.44-r1
2.4.44-r2
2.4.44-r3
2.4.44-r4
2.4.44-r5
2.4.45-r0
2.4.45-r1
2.4.45-r2
2.4.45-r3
2.4.45-r4
2.4.46-r0
2.4.46-r1
2.4.46-r2
2.4.47-r2
2.4.47-r3
2.4.48-r0
2.4.48-r1
2.4.48-r2
2.4.48-r3
2.4.48-r4
2.4.49-r0
2.4.49-r1
2.4.49-r2
2.4.49-r3
2.4.50-r0
2.4.50-r1
2.4.50-r2
2.4.51-r0
2.4.52-r0
2.4.54-r0
2.4.56-r0
2.4.57-r0
2.4.57-r1
2.4.58-r0
2.4.59-r0
2.4.59-r1
2.4.59-r2
2.4.59-r3
2.6.0-r0

Alpine:v3.17 / openldap

Package

Name
openldap
Purl
pkg:apk/alpine/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.2-r0

Affected versions

2.*

2.4.11-r0
2.4.16-r0
2.4.16-r1
2.4.16-r2
2.4.18-r0
2.4.19-r0
2.4.19-r1
2.4.19-r2
2.4.19-r3
2.4.19-r4
2.4.19-r5
2.4.21-r0
2.4.21-r1
2.4.21-r2
2.4.21-r3
2.4.23-r0
2.4.23-r1
2.4.24-r0
2.4.24-r1
2.4.24-r2
2.4.24-r3
2.4.25-r0
2.4.25-r1
2.4.25-r2
2.4.26-r0
2.4.26-r1
2.4.26-r2
2.4.26-r3
2.4.26-r4
2.4.28-r0
2.4.28-r2
2.4.28-r3
2.4.30-r0
2.4.31-r0
2.4.31-r1
2.4.31-r2
2.4.31-r3
2.4.32-r0
2.4.32-r1
2.4.32-r2
2.4.33-r0
2.4.34-r0
2.4.35-r0
2.4.35-r1
2.4.35-r2
2.4.36-r0
2.4.36-r1
2.4.36-r2
2.4.37-r0
2.4.38-r0
2.4.38-r1
2.4.39-r0
2.4.39-r1
2.4.40-r0
2.4.40-r1
2.4.40-r2
2.4.40-r3
2.4.40-r4
2.4.40-r5
2.4.41-r0
2.4.42-r0
2.4.42-r1
2.4.43-r0
2.4.44-r0
2.4.44-r1
2.4.44-r2
2.4.44-r3
2.4.44-r4
2.4.44-r5
2.4.45-r0
2.4.45-r1
2.4.45-r2
2.4.45-r3
2.4.45-r4
2.4.46-r0
2.4.46-r1
2.4.46-r2
2.4.47-r2
2.4.47-r3
2.4.48-r0
2.4.48-r1
2.4.48-r2
2.4.48-r3
2.4.48-r4
2.4.49-r0
2.4.49-r1
2.4.49-r2
2.4.49-r3
2.4.50-r0
2.4.50-r1
2.4.50-r2
2.4.51-r0
2.4.52-r0
2.4.54-r0
2.4.56-r0
2.4.57-r0
2.4.57-r1
2.4.58-r0
2.4.59-r0
2.4.59-r1
2.4.59-r2
2.4.59-r3
2.6.0-r0

Alpine:v3.18 / openldap

Package

Name
openldap
Purl
pkg:apk/alpine/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.2-r0

Affected versions

2.*

2.4.11-r0
2.4.16-r0
2.4.16-r1
2.4.16-r2
2.4.18-r0
2.4.19-r0
2.4.19-r1
2.4.19-r2
2.4.19-r3
2.4.19-r4
2.4.19-r5
2.4.21-r0
2.4.21-r1
2.4.21-r2
2.4.21-r3
2.4.23-r0
2.4.23-r1
2.4.24-r0
2.4.24-r1
2.4.24-r2
2.4.24-r3
2.4.25-r0
2.4.25-r1
2.4.25-r2
2.4.26-r0
2.4.26-r1
2.4.26-r2
2.4.26-r3
2.4.26-r4
2.4.28-r0
2.4.28-r2
2.4.28-r3
2.4.30-r0
2.4.31-r0
2.4.31-r1
2.4.31-r2
2.4.31-r3
2.4.32-r0
2.4.32-r1
2.4.32-r2
2.4.33-r0
2.4.34-r0
2.4.35-r0
2.4.35-r1
2.4.35-r2
2.4.36-r0
2.4.36-r1
2.4.36-r2
2.4.37-r0
2.4.38-r0
2.4.38-r1
2.4.39-r0
2.4.39-r1
2.4.40-r0
2.4.40-r1
2.4.40-r2
2.4.40-r3
2.4.40-r4
2.4.40-r5
2.4.41-r0
2.4.42-r0
2.4.42-r1
2.4.43-r0
2.4.44-r0
2.4.44-r1
2.4.44-r2
2.4.44-r3
2.4.44-r4
2.4.44-r5
2.4.45-r0
2.4.45-r1
2.4.45-r2
2.4.45-r3
2.4.45-r4
2.4.46-r0
2.4.46-r1
2.4.46-r2
2.4.47-r2
2.4.47-r3
2.4.48-r0
2.4.48-r1
2.4.48-r2
2.4.48-r3
2.4.48-r4
2.4.49-r0
2.4.49-r1
2.4.49-r2
2.4.49-r3
2.4.50-r0
2.4.50-r1
2.4.50-r2
2.4.51-r0
2.4.52-r0
2.4.54-r0
2.4.56-r0
2.4.57-r0
2.4.57-r1
2.4.58-r0
2.4.59-r0
2.4.59-r1
2.4.59-r2
2.4.59-r3
2.6.0-r0

Alpine:v3.19 / openldap

Package

Name
openldap
Purl
pkg:apk/alpine/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.2-r0

Affected versions

2.*

2.4.11-r0
2.4.16-r0
2.4.16-r1
2.4.16-r2
2.4.18-r0
2.4.19-r0
2.4.19-r1
2.4.19-r2
2.4.19-r3
2.4.19-r4
2.4.19-r5
2.4.21-r0
2.4.21-r1
2.4.21-r2
2.4.21-r3
2.4.23-r0
2.4.23-r1
2.4.24-r0
2.4.24-r1
2.4.24-r2
2.4.24-r3
2.4.25-r0
2.4.25-r1
2.4.25-r2
2.4.26-r0
2.4.26-r1
2.4.26-r2
2.4.26-r3
2.4.26-r4
2.4.28-r0
2.4.28-r2
2.4.28-r3
2.4.30-r0
2.4.31-r0
2.4.31-r1
2.4.31-r2
2.4.31-r3
2.4.32-r0
2.4.32-r1
2.4.32-r2
2.4.33-r0
2.4.34-r0
2.4.35-r0
2.4.35-r1
2.4.35-r2
2.4.36-r0
2.4.36-r1
2.4.36-r2
2.4.37-r0
2.4.38-r0
2.4.38-r1
2.4.39-r0
2.4.39-r1
2.4.40-r0
2.4.40-r1
2.4.40-r2
2.4.40-r3
2.4.40-r4
2.4.40-r5
2.4.41-r0
2.4.42-r0
2.4.42-r1
2.4.43-r0
2.4.44-r0
2.4.44-r1
2.4.44-r2
2.4.44-r3
2.4.44-r4
2.4.44-r5
2.4.45-r0
2.4.45-r1
2.4.45-r2
2.4.45-r3
2.4.45-r4
2.4.46-r0
2.4.46-r1
2.4.46-r2
2.4.47-r2
2.4.47-r3
2.4.48-r0
2.4.48-r1
2.4.48-r2
2.4.48-r3
2.4.48-r4
2.4.49-r0
2.4.49-r1
2.4.49-r2
2.4.49-r3
2.4.50-r0
2.4.50-r1
2.4.50-r2
2.4.51-r0
2.4.52-r0
2.4.54-r0
2.4.56-r0
2.4.57-r0
2.4.57-r1
2.4.58-r0
2.4.59-r0
2.4.59-r1
2.4.59-r2
2.4.59-r3
2.6.0-r0

Alpine:v3.20 / openldap

Package

Name
openldap
Purl
pkg:apk/alpine/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.2-r0

Affected versions

2.*

2.4.11-r0
2.4.16-r0
2.4.16-r1
2.4.16-r2
2.4.18-r0
2.4.19-r0
2.4.19-r1
2.4.19-r2
2.4.19-r3
2.4.19-r4
2.4.19-r5
2.4.21-r0
2.4.21-r1
2.4.21-r2
2.4.21-r3
2.4.23-r0
2.4.23-r1
2.4.24-r0
2.4.24-r1
2.4.24-r2
2.4.24-r3
2.4.25-r0
2.4.25-r1
2.4.25-r2
2.4.26-r0
2.4.26-r1
2.4.26-r2
2.4.26-r3
2.4.26-r4
2.4.28-r0
2.4.28-r2
2.4.28-r3
2.4.30-r0
2.4.31-r0
2.4.31-r1
2.4.31-r2
2.4.31-r3
2.4.32-r0
2.4.32-r1
2.4.32-r2
2.4.33-r0
2.4.34-r0
2.4.35-r0
2.4.35-r1
2.4.35-r2
2.4.36-r0
2.4.36-r1
2.4.36-r2
2.4.37-r0
2.4.38-r0
2.4.38-r1
2.4.39-r0
2.4.39-r1
2.4.40-r0
2.4.40-r1
2.4.40-r2
2.4.40-r3
2.4.40-r4
2.4.40-r5
2.4.41-r0
2.4.42-r0
2.4.42-r1
2.4.43-r0
2.4.44-r0
2.4.44-r1
2.4.44-r2
2.4.44-r3
2.4.44-r4
2.4.44-r5
2.4.45-r0
2.4.45-r1
2.4.45-r2
2.4.45-r3
2.4.45-r4
2.4.46-r0
2.4.46-r1
2.4.46-r2
2.4.47-r2
2.4.47-r3
2.4.48-r0
2.4.48-r1
2.4.48-r2
2.4.48-r3
2.4.48-r4
2.4.49-r0
2.4.49-r1
2.4.49-r2
2.4.49-r3
2.4.50-r0
2.4.50-r1
2.4.50-r2
2.4.51-r0
2.4.52-r0
2.4.54-r0
2.4.56-r0
2.4.57-r0
2.4.57-r1
2.4.58-r0
2.4.59-r0
2.4.59-r1
2.4.59-r2
2.4.59-r3
2.6.0-r0

Alpine:v3.21 / openldap

Package

Name
openldap
Purl
pkg:apk/alpine/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.2-r0

Affected versions

2.*

2.4.11-r0
2.4.16-r0
2.4.16-r1
2.4.16-r2
2.4.18-r0
2.4.19-r0
2.4.19-r1
2.4.19-r2
2.4.19-r3
2.4.19-r4
2.4.19-r5
2.4.21-r0
2.4.21-r1
2.4.21-r2
2.4.21-r3
2.4.23-r0
2.4.23-r1
2.4.24-r0
2.4.24-r1
2.4.24-r2
2.4.24-r3
2.4.25-r0
2.4.25-r1
2.4.25-r2
2.4.26-r0
2.4.26-r1
2.4.26-r2
2.4.26-r3
2.4.26-r4
2.4.28-r0
2.4.28-r2
2.4.28-r3
2.4.30-r0
2.4.31-r0
2.4.31-r1
2.4.31-r2
2.4.31-r3
2.4.32-r0
2.4.32-r1
2.4.32-r2
2.4.33-r0
2.4.34-r0
2.4.35-r0
2.4.35-r1
2.4.35-r2
2.4.36-r0
2.4.36-r1
2.4.36-r2
2.4.37-r0
2.4.38-r0
2.4.38-r1
2.4.39-r0
2.4.39-r1
2.4.40-r0
2.4.40-r1
2.4.40-r2
2.4.40-r3
2.4.40-r4
2.4.40-r5
2.4.41-r0
2.4.42-r0
2.4.42-r1
2.4.43-r0
2.4.44-r0
2.4.44-r1
2.4.44-r2
2.4.44-r3
2.4.44-r4
2.4.44-r5
2.4.45-r0
2.4.45-r1
2.4.45-r2
2.4.45-r3
2.4.45-r4
2.4.46-r0
2.4.46-r1
2.4.46-r2
2.4.47-r2
2.4.47-r3
2.4.48-r0
2.4.48-r1
2.4.48-r2
2.4.48-r3
2.4.48-r4
2.4.49-r0
2.4.49-r1
2.4.49-r2
2.4.49-r3
2.4.50-r0
2.4.50-r1
2.4.50-r2
2.4.51-r0
2.4.52-r0
2.4.54-r0
2.4.56-r0
2.4.57-r0
2.4.57-r1
2.4.58-r0
2.4.59-r0
2.4.59-r1
2.4.59-r2
2.4.59-r3
2.6.0-r0

Debian:11 / openldap

Package

Name
openldap
Purl
pkg:deb/debian/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.57+dfsg-3+deb11u1

Affected versions

2.*

2.4.57+dfsg-3
2.4.57+dfsg-3+deb11u1~bpo10+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / openldap

Package

Name
openldap
Purl
pkg:deb/debian/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.12+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / openldap

Package

Name
openldap
Purl
pkg:deb/debian/openldap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.12+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / git.openldap.org/openldap/openldap

Affected ranges

Type
GIT
Repo
https://git.openldap.org/openldap/openldap
Events
Introduced
9794f9fbe87267e8323c44a260abd2656d1652e7
Fixed
2bda1fa98fbcedc6cd5995ea905427b8bef89f9d
Type
GIT
Repo
https://github.com/openldap/openldap
Events

Affected versions

Other

OPENLDAP_REL_ENG_2_6_0
OPENLDAP_REL_ENG_2_6_1