ALAS2-2023-1958

Related Vulnerabilities: CVE-2022-29155  

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. (CVE-2022-29155)

ALAS2-2023-1958


Amazon Linux 2 Security Advisory: ALAS-2023-1958
Advisory Release Date: 2023-02-17 00:12 Pacific
Advisory Updated Date: 2023-02-22 01:53 Pacific
Severity: Critical

Issue Overview:

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. (CVE-2022-29155)


Affected Packages:

openldap


Issue Correction:
pkg_manager = 'yum'Run update openldap to update your system.

New Packages:
aarch64:
    openldap-2.4.44-23.amzn2.0.4.aarch64
    openldap-devel-2.4.44-23.amzn2.0.4.aarch64
    openldap-servers-2.4.44-23.amzn2.0.4.aarch64
    openldap-servers-sql-2.4.44-23.amzn2.0.4.aarch64
    openldap-clients-2.4.44-23.amzn2.0.4.aarch64
    openldap-debuginfo-2.4.44-23.amzn2.0.4.aarch64

i686:
    openldap-2.4.44-23.amzn2.0.4.i686
    openldap-devel-2.4.44-23.amzn2.0.4.i686
    openldap-servers-2.4.44-23.amzn2.0.4.i686
    openldap-servers-sql-2.4.44-23.amzn2.0.4.i686
    openldap-clients-2.4.44-23.amzn2.0.4.i686
    openldap-debuginfo-2.4.44-23.amzn2.0.4.i686

src:
    openldap-2.4.44-23.amzn2.0.4.src

x86_64:
    openldap-2.4.44-23.amzn2.0.4.x86_64
    openldap-devel-2.4.44-23.amzn2.0.4.x86_64
    openldap-servers-2.4.44-23.amzn2.0.4.x86_64
    openldap-servers-sql-2.4.44-23.amzn2.0.4.x86_64
    openldap-clients-2.4.44-23.amzn2.0.4.x86_64
    openldap-debuginfo-2.4.44-23.amzn2.0.4.x86_64