Vulnerability · Published May 12, 2021 · Assigned by redhat

CVE-2020-27840

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 3.9% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)3.9%top 9.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings with spaces to instead write a zero-byte into out-of-bounds memory, resulting in a crash. The highest threat from this vulnerability is to system availability.

Affected packages & fixed versions

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

Affected products (as reported)

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

Weakness: CWE-125

References