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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2611-1, DSA-4884-1 |
Debian Bugs | 985935 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ldb (PTS) | bullseye (security), bullseye | 2:2.2.3-2~deb11u2 | fixed |
samba (PTS) | bullseye (security), bullseye | 2:4.13.13+dfsg-1~deb11u6 | vulnerable |
| bookworm, bookworm (security) | 2:4.17.12+dfsg-0+deb12u1 | fixed |
| sid, trixie | 2:4.21.0+dfsg-1 | 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 | | |
Notes
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