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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DLA-2611-1, DSA-4884-1 |
Debian Bugs | 985935 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ldb (PTS) | buster, buster (security) | 2:1.5.1+really1.4.6-3+deb10u1 | fixed |
bullseye (security), bullseye | 2:2.2.3-2~deb11u2 | fixed | |
samba (PTS) | buster, buster (security) | 2:4.9.5+dfsg-5+deb10u3 | vulnerable |
bullseye (security), bullseye | 2:4.13.13+dfsg-1~deb11u5 | vulnerable | |
bookworm, sid | 2:4.17.8+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ldb | source | stretch | 2:1.1.27-1+deb9u2 | DLA-2611-1 | ||
ldb | source | buster | 2:1.5.1+really1.4.6-3+deb10u1 | DSA-4884-1 | ||
ldb | source | (unstable) | 2:2.2.0-3.1 | 985935 | ||
samba | source | (unstable) | 2:4.13.13+dfsg-1 | unimportant |
https://www.samba.org/samba/security/CVE-2021-20277.html
https://bugzilla.samba.org/show_bug.cgi?id=14655
https://git.samba.org/?p=samba.git;a=commitdiff;h=ea4bd2c437fbb5801fb82e2a038d9cdb5abea4c0
https://git.samba.org/?p=samba.git;a=commitdiff;h=1fe8c790b2294fd10fe9c9c6254ecf2b6c00b709
Samba uses the System ldb library