Amazon Linux AMI update for libldb



Published: 2021-04-21
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-20277
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Out-of-bounds read

EUVDB-ID: #VU51701

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-20277

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition in ldb_handler_fold() function when processing multiple consecutive leading spaces within LDAP query. A remote user can send a specially crafted LDAP query, trigger out-of-bounds read error and crash the LDAP server.

Mitigation

Update the affected packages:

i686:
    libldb-1.5.4-2.17.amzn1.i686
    libldb-devel-1.5.4-2.17.amzn1.i686
    pyldb-1.5.4-2.17.amzn1.i686
    libldb-debuginfo-1.5.4-2.17.amzn1.i686
    pyldb-devel-1.5.4-2.17.amzn1.i686
    ldb-tools-1.5.4-2.17.amzn1.i686

src:
    libldb-1.5.4-2.17.amzn1.src

x86_64:
    libldb-1.5.4-2.17.amzn1.x86_64
    pyldb-devel-1.5.4-2.17.amzn1.x86_64
    pyldb-1.5.4-2.17.amzn1.x86_64
    libldb-debuginfo-1.5.4-2.17.amzn1.x86_64
    libldb-devel-1.5.4-2.17.amzn1.x86_64
    ldb-tools-1.5.4-2.17.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2021-1494.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###