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, ELA-393-1 |
Debian Bugs | 985935 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ldb (PTS) | jessie, jessie (lts) | 2:1.1.20-0+deb8u3 | fixed |
stretch (security), stretch (lts), stretch | 2:1.1.27-1+deb9u2 | fixed | |
buster (security), buster, buster (lts) | 2:1.5.1+really1.4.6-3+deb10u1 | fixed | |
bullseye (security), bullseye | 2:2.2.3-2~deb11u2 | fixed | |
samba (PTS) | jessie, jessie (lts) | 2:4.2.14+dfsg-0+deb8u16 | vulnerable |
stretch (security) | 2:4.5.16+dfsg-1+deb9u4 | vulnerable | |
stretch (lts), stretch | 2:4.5.16+dfsg-1+deb9u5 | vulnerable | |
buster (security), buster, buster (lts) | 2:4.9.5+dfsg-5+deb10u5 | vulnerable | |
bullseye (security), bullseye | 2:4.13.13+dfsg-1~deb11u6 | vulnerable | |
bookworm (security), bookworm | 2:4.17.12+dfsg-0+deb12u1 | fixed | |
trixie | 2:4.21.2+dfsg-3 | fixed | |
sid | 2:4.21.2+dfsg-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ldb | source | jessie | 2:1.1.20-0+deb8u3 | ELA-393-1 | ||
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