7.5high
A flaw was found in Samba's libldb.
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 4.19% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| samba | samba 4.14.1, samba 4.13.6, samba 4.12.13 | CVE List |
| samba samba | from 4.0.0 before 4.12.13, from 4.13.0 before 4.13.6, from 4.14.0 before 4.14.1 | NVD |
| debian debian_linux | 9.0, 10.0 | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró un fallo en libldb de Samba. Múltiples espacios iniciales consecutivos en un atributo LDAP pueden conllevar a una escritura de memoria fuera de los límites, conllevando a un bloqueo del proceso del servidor LDAP que maneja la petición. La mayor amenaza de esta vulnerabilidad es la disponibilidad del sistema
References
| https://security.netapp.com/advisory/ntap-20210326-0007/ | third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/ | vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html | mailing-list, third-party-advisory | |
| https://www.debian.org/security/2021/dsa-4884 | third-party-advisory, vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/ | vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1941402 | issue-tracking, third-party-advisory | |
| https://www.samba.org/samba/security/CVE-2021-20277.html | vendor-advisory | |
| https://security.gentoo.org/glsa/202105-22 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20277 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-20277 changed 2026-06-17 | Public domain |