CVE-2021-20277

Name
CVE-2021-20277
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MLIST https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html
MISC https://bugzilla.redhat.com/show_bug.cgi?id=1941402
MISC https://www.samba.org/samba/security/CVE-2021-20277.html
CONFIRM https://security.netapp.com/advisory/ntap-20210326-0007/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/
DEBIAN https://www.debian.org/security/2021/dsa-4884
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/
Third Party Advisory https://security.gentoo.org/glsa/202105-22

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 4.0.0 < 4.12.13
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 4.13.0 < 4.13.6
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 4.14.0 < 4.14.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
samba 3.11-main 4.11.16-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
samba 3.10-main 4.10.18-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable