Vulnerabilities · 2021 · Samba
CVE-2021-20277
Samba vulnerability
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.
Affected products
Samba, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Samba runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.samba.org/samba/security/CVE-2021-20277.html · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=1941402 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/03/msg00036.html · Third Party Advisory
- security.gentoo.org/glsa/202105-22 · Third Party Advisory
- security.netapp.com/advisory/ntap-20210326-0007/ · Third Party Advisory
- www.debian.org/security/2021/dsa-4884 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X
- nvd.nist.gov/vuln/detail/CVE-2021-20277
- cve.org/CVERecord?id=CVE-2021-20277
More vulnerabilities in Samba products
CVE-2025-0620CVE-2024-12088CVE-2024-12087CVE-2024-12086CVE-2024-12085CVE-2024-12084CVE-2023-42670CVE-2023-42669All 234
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.