Vulnerability · Published May 12, 2021 · Assigned by redhat
CVE-2021-20277
High 7.5
In plain English
A high-severity out-of-bounds read in samba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.4% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)4.4%top 8.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | samba | 4.14.2-r0 | ALPINE-CVE-2021-20277 |
| Alpine:v3.21 | samba | 4.14.2-r0 | ALPINE-CVE-2021-20277 |
| Alpine:v3.22 | samba | 4.14.2-r0 | ALPINE-CVE-2021-20277 |
| Alpine:v3.23 | samba | 4.14.2-r0 | ALPINE-CVE-2021-20277 |
| Alpine:v3.24 | samba | 4.14.2-r0 | ALPINE-CVE-2021-20277 |
| Debian:12 | samba | 2:4.13.13+dfsg-1 | DEBIAN-CVE-2021-20277 |
| Debian:13 | samba | 2:4.13.13+dfsg-1 | DEBIAN-CVE-2021-20277 |
| Debian:14 | samba | 2:4.13.13+dfsg-1 | DEBIAN-CVE-2021-20277 |
Affected products (as reported)
Weakness: CWE-125
References
- https://security.netapp.com/advisory/ntap-20210326-0007/ x_refsource_CONFIRM
- FEDORA-2021-c2d8628d33 vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20210331 [SECURITY] [DLA 2611-1] ldb security update mailing-list, x_refsource_MLIST
- DSA-4884 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2021-1a8e93a285 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-c93a3a5d3f vendor-advisory, x_refsource_FEDORA
- https://bugzilla.redhat.com/show_bug.cgi?id=1941402 x_refsource_MISC
- https://www.samba.org/samba/security/CVE-2021-20277.html x_refsource_MISC
- GLSA-202105-22 vendor-advisory, x_refsource_GENTOO