CVE-2020-10704 Denial of service in samba

High 7.5 Published Updated

An unauthorized user can cause a stack overflow and denial of service in Samba when configured as an Active Directory Domain Controller.

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-10704?

CVE-2020-10704 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 6 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found when using samba as an Active Directory Domain Controller. Due to the way samba handles certain requests as an Active Directory Domain Controller LDAP server, an unauthorized user can cause a stack overflow leading to a denial of service. The highest threat from this vulnerability is to system availability. This issue affects all samba versions before 4.10.15, before 4.11.8 and before 4.12.2.

Weakness: CWE-674

Which versions are affected by CVE-2020-10704?

It affects 4 products.

Linux distribution packages (10)
samba SUSE:Enterprise Storage 6All versions4.9.5+git.317.6d82fb3918b-3.35.1
samba SUSE:Linux Enterprise High Availability Extension 15All versions4.7.11+git.231.7f324c4d89e-4.40.1
samba SUSE:Linux Enterprise High Availability Extension 15 SP1All versions4.9.5+git.317.6d82fb3918b-3.35.1
samba SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions4.7.11+git.231.7f324c4d89e-4.40.1
samba SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions4.7.11+git.231.7f324c4d89e-4.40.1
samba SUSE:Linux Enterprise Module for Basesystem 15 SP1All versions4.9.5+git.317.6d82fb3918b-3.35.1
samba SUSE:Linux Enterprise Module for Python 2 15 SP1All versions4.9.5+git.317.6d82fb3918b-3.35.1
samba SUSE:Linux Enterprise Server 15-LTSSAll versions4.7.11+git.231.7f324c4d89e-4.40.1
samba SUSE:Linux Enterprise Server for SAP Applications 15All versions4.7.11+git.231.7f324c4d89e-4.40.1
samba openSUSE:Leap 15.1All versions4.9.5+git.317.6d82fb3918b-lp151.2.24.1

Products include Debian Debian Linux, Fedoraproject Fedora, Opensuse Leap, Samba Samba.

How do I fix CVE-2020-10704?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-10704 being exploited?

There is no known exploitation of CVE-2020-10704 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-10704, CLSA-2025-1764151714, DEBIAN-CVE-2020-10704, ECHO-651d-aa48-5dc7, GHSA-hxwv-6335-26h5, SUSE-SU-2020:1132-1 and 4 more.

Is CVE-2020-10704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free