Lucene search

K
amazonAmazonALAS2-2023-2033
HistoryApr 27, 2023 - 6:37 p.m.

Important: openldap

2023-04-2718:37:00
alas.aws.amazon.com
26

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

8 High

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.243 Low

EPSS

Percentile

96.5%

Issue Overview:

An issue was discovered in OpenLDAP 2.x before 2.4.48. When using SASL authentication and session encryption, and relying on the SASL security layers in slapd access controls, it is possible to obtain access that would otherwise be denied via a simple bind for any identity covered in those ACLs. After the first SASL bind is completed, the sasl_ssf value is retained for all new non-SASL connections. Depending on the ACL configuration, this can affect different types of operations (searches, modifications, etc.). In other words, a successful authorization step completed by one user affects the authorization requirement for a different user. (CVE-2019-13565)

An integer underflow was discovered in OpenLDAP before 2.4.57 leading to slapd crashes in the Certificate Exact Assertion processing, resulting in denial of service (schema_init.c serialNumberAndIssuerCheck). (CVE-2020-36221)

A flaw was discovered in OpenLDAP before 2.4.57 leading to an assertion failure in slapd in the saslAuthzTo validation, resulting in denial of service. (CVE-2020-36222)

A flaw was discovered in OpenLDAP before 2.4.57 leading to a slapd crash in the Values Return Filter control handling, resulting in denial of service (double free and out-of-bounds read). (CVE-2020-36223)

A flaw was discovered in OpenLDAP before 2.4.57 leading to an invalid pointer free and slapd crash in the saslAuthzTo processing, resulting in denial of service. (CVE-2020-36224)

A flaw was discovered in OpenLDAP before 2.4.57 leading to a memch->bv_len miscalculation and slapd crash in the saslAuthzTo processing, resulting in denial of service. (CVE-2020-36226)

A flaw was discovered in OpenLDAP before 2.4.57 leading to an infinite loop in slapd with the cancel_extop Cancel operation, resulting in denial of service. (CVE-2020-36227)

An integer underflow was discovered in OpenLDAP before 2.4.57 leading to a slapd crash in the Certificate List Exact Assertion processing, resulting in denial of service. (CVE-2020-36228)

A flaw was discovered in ldap_X509dn2bv in OpenLDAP before 2.4.57 leading to a slapd crash in the X.509 DN parsing in ad_keystring, resulting in denial of service. (CVE-2020-36229)

A flaw was discovered in OpenLDAP before 2.4.57 leading in an assertion failure in slapd in the X.509 DN parsing in decode.c ber_next_element, resulting in denial of service. (CVE-2020-36230)

In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion …

NOTE: https://bugs.openldap.org/show_bug.cgi?id=9454
NOTE: trunk: https://git.openldap.org/openldap/openldap/-/commit/3539fc33212b528c56b716584f2c2994af7c30b0
NOTE: REL_ENG 2.4.x: https://git.openldap.org/openldap/openldap/-/commit/9badb73425a67768c09bcaed1a9c26c684af6c30 (CVE-2021-27212)

Affected Packages:

openldap

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update openldap to update your system.

New Packages:

aarch64:  
    openldap-2.4.44-25.amzn2.0.5.aarch64  
    openldap-devel-2.4.44-25.amzn2.0.5.aarch64  
    openldap-servers-2.4.44-25.amzn2.0.5.aarch64  
    openldap-servers-sql-2.4.44-25.amzn2.0.5.aarch64  
    openldap-clients-2.4.44-25.amzn2.0.5.aarch64  
    openldap-debuginfo-2.4.44-25.amzn2.0.5.aarch64  
  
i686:  
    openldap-2.4.44-25.amzn2.0.5.i686  
    openldap-devel-2.4.44-25.amzn2.0.5.i686  
    openldap-servers-2.4.44-25.amzn2.0.5.i686  
    openldap-servers-sql-2.4.44-25.amzn2.0.5.i686  
    openldap-clients-2.4.44-25.amzn2.0.5.i686  
    openldap-debuginfo-2.4.44-25.amzn2.0.5.i686  
  
src:  
    openldap-2.4.44-25.amzn2.0.5.src  
  
x86_64:  
    openldap-2.4.44-25.amzn2.0.5.x86_64  
    openldap-devel-2.4.44-25.amzn2.0.5.x86_64  
    openldap-servers-2.4.44-25.amzn2.0.5.x86_64  
    openldap-servers-sql-2.4.44-25.amzn2.0.5.x86_64  
    openldap-clients-2.4.44-25.amzn2.0.5.x86_64  
    openldap-debuginfo-2.4.44-25.amzn2.0.5.x86_64  

Additional References

Red Hat: CVE-2019-13565, CVE-2020-36221, CVE-2020-36222, CVE-2020-36223, CVE-2020-36224, CVE-2020-36226, CVE-2020-36227, CVE-2020-36228, CVE-2020-36229, CVE-2020-36230, CVE-2021-27212

Mitre: CVE-2019-13565, CVE-2020-36221, CVE-2020-36222, CVE-2020-36223, CVE-2020-36224, CVE-2020-36226, CVE-2020-36227, CVE-2020-36228, CVE-2020-36229, CVE-2020-36230, CVE-2021-27212

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

8 High

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.243 Low

EPSS

Percentile

96.5%