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

EcosystemPackageFixed inAdvisory
Alpine:v3.20samba4.14.2-r0ALPINE-CVE-2021-20277
Alpine:v3.21samba4.14.2-r0ALPINE-CVE-2021-20277
Alpine:v3.22samba4.14.2-r0ALPINE-CVE-2021-20277
Alpine:v3.23samba4.14.2-r0ALPINE-CVE-2021-20277
Alpine:v3.24samba4.14.2-r0ALPINE-CVE-2021-20277
Debian:12samba2:4.13.13+dfsg-1DEBIAN-CVE-2021-20277
Debian:13samba2:4.13.13+dfsg-1DEBIAN-CVE-2021-20277
Debian:14samba2:4.13.13+dfsg-1DEBIAN-CVE-2021-20277

Affected products (as reported)

VendorProductVersions
n/a samba samba 4.14.1, samba 4.13.6, samba 4.12.13

Weakness: CWE-125

References