First published: Mon Mar 22 2021(Updated: )
A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an out-of-bounds memory write, leading to a crash of the LDAP server process handling the request. The highest threat from this vulnerability is to system availability.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Samba Samba | >=4.0.0<4.12.13 | |
Samba Samba | >=4.13.0<4.13.6 | |
Samba Samba | >=4.14.0<4.14.1 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
Fedoraproject Fedora | =32 | |
Fedoraproject Fedora | =33 | |
Fedoraproject Fedora | =34 | |
debian/ldb | <=2:2.2.0-3<=2:1.5.1+really1.4.6-3 | 2:2.2.0-3.1 2:1.5.1+really1.4.6-3+deb10u1 |
debian/ldb | 2:1.5.1+really1.4.6-3+deb10u1 2:2.2.3-2~deb11u2 | |
debian/samba | <=2:4.9.5+dfsg-5+deb10u3<=2:4.9.5+dfsg-5+deb10u4<=2:4.13.13+dfsg-1~deb11u5 | 2:4.17.12+dfsg-0+deb12u1 2:4.19.3+dfsg-2 |
redhat/samba | <4.14.1 | 4.14.1 |
redhat/samba | <4.13.6 | 4.13.6 |
redhat/samba | <4.12.13 | 4.12.13 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-20277 is a vulnerability found in Samba's libldb that allows multiple consecutive leading spaces in an LDAP attribute, leading to an out-of-bounds memory write and a crash of the LDAP server process.
The severity of CVE-2021-20277 is high with a CVSS score of 7.5.
Samba versions between 4.0.0 and 4.12.13, 4.13.0 and 4.13.6, and 4.14.0 and 4.14.1 are affected. Debian Linux versions 9.0 and 10.0, Fedora versions 32, 33, and 34 are also affected.
The highest threat from CVE-2021-20277 is to system availability.
To fix the CVE-2021-20277 vulnerability, update Samba to versions 4.13.7, 4.14.2, or 4.15.0. Or, apply the respective security updates for Debian Linux and Fedora.