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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | samba | 4.14.2-r0 | ALPINE-CVE-2020-27840 |
| Alpine:v3.21 | samba | 4.14.2-r0 | ALPINE-CVE-2020-27840 |
| Alpine:v3.22 | samba | 4.14.2-r0 | ALPINE-CVE-2020-27840 |
| Alpine:v3.23 | samba | 4.14.2-r0 | ALPINE-CVE-2020-27840 |
| Alpine:v3.24 | samba | 4.14.2-r0 | ALPINE-CVE-2020-27840 |
| Debian:12 | samba | 2:4.13.13+dfsg-1 | DEBIAN-CVE-2020-27840 |
| Debian:13 | samba | 2:4.13.13+dfsg-1 | DEBIAN-CVE-2020-27840 |
| Debian:14 | samba | 2:4.13.13+dfsg-1 | DEBIAN-CVE-2020-27840 |
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=1941400 x_refsource_MISC
- https://www.samba.org/samba/security/CVE-2020-27840.html x_refsource_MISC
- GLSA-202105-22 vendor-advisory, x_refsource_GENTOO