ALAS-2023-1691

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)

ALAS-2023-1691


Amazon Linux AMI Security Advisory: ALAS-2023-1691
Advisory Release Date: 2023-02-17 00:02 Pacific
Advisory Updated Date: 2023-02-23 01:35 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:
Run yum update openldap to update your system.

New Packages:
i686:
    openldap-devel-2.4.40-16.32.amzn1.i686
    openldap-clients-2.4.40-16.32.amzn1.i686
    openldap-servers-sql-2.4.40-16.32.amzn1.i686
    openldap-2.4.40-16.32.amzn1.i686
    openldap-debuginfo-2.4.40-16.32.amzn1.i686
    openldap-servers-2.4.40-16.32.amzn1.i686

src:
    openldap-2.4.40-16.32.amzn1.src

x86_64:
    openldap-debuginfo-2.4.40-16.32.amzn1.x86_64
    openldap-clients-2.4.40-16.32.amzn1.x86_64
    openldap-servers-2.4.40-16.32.amzn1.x86_64
    openldap-servers-sql-2.4.40-16.32.amzn1.x86_64
    openldap-2.4.40-16.32.amzn1.x86_64
    openldap-devel-2.4.40-16.32.amzn1.x86_64