CVE-2020-27840 Memory corruption in samba
An out-of-bounds write in Samba's DN parsing allows attackers to crash the service, impacting system availability.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-27840?
CVE-2020-27840 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 12 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-125
Which versions are affected by CVE-2020-27840?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Samba Samba.
How do I fix CVE-2020-27840?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-27840 being exploited?
There is no known exploitation of CVE-2020-27840 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2020-27840, AZL-36997, AZL-45414, AZL-7351, DEBIAN-CVE-2020-27840, ECHO-3b38-c4b7-f66d and 2 more.