Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | samba | samba 4.14.1, samba 4.13.6, samba 4.12.13 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1941402Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/03/msg00036.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/
- https://security.gentoo.org/glsa/202105-22Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210326-0007/Third Party Advisory
- https://www.debian.org/security/2021/dsa-4884Third Party Advisory
- https://www.samba.org/samba/security/CVE-2021-20277.htmlVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1941402Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/03/msg00036.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/
- https://security.gentoo.org/glsa/202105-22Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210326-0007/Third Party Advisory
- https://www.debian.org/security/2021/dsa-4884Third Party Advisory
- https://www.samba.org/samba/security/CVE-2021-20277.htmlVendor Advisory
Timeline
- Published
- May 12, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified