CVE-2021-20277
JSON

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 packageVersionsReported by
sambasamba 4.14.1, samba 4.13.6, samba 4.12.13CVE List
samba sambafrom 4.0.0 before 4.12.13, from 4.13.0 before 4.13.6, from 4.14.0 before 4.14.1NVD
debian debian_linux9.0, 10.0NVD
fedoraproject fedora32, 33, 34NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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.htmlmailing-list, third-party-advisory
https://www.debian.org/security/2021/dsa-4884third-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=1941402issue-tracking, third-party-advisory
https://www.samba.org/samba/security/CVE-2021-20277.htmlvendor-advisory
https://security.gentoo.org/glsa/202105-22third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-20277 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-20277 changed 2026-06-17Public domain