CVE-2020-10704 json
A flaw was found when using samba as an Active Directory Domain Controller.
published 2020-05-06 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-3135
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- samba samba 4.10.15, 4.11.8, 4.12.2
- samba Debian 14, Debian 13, Debian 12 2:4.12.3+dfsg-2
debian advisories DEBIAN-CVE-2020-10704
- samba Ubuntu 16.04 LTS 2:4.3.11+dfsg-0ubuntu0.16.04.26
- samba Ubuntu 18.04 LTS 2:4.7.6+dfsg~ubuntu-0ubuntu2.16
- samba Ubuntu 20.04 LTS 2:4.11.6+dfsg-0ubuntu1.1
- samba Ubuntu Pro 14.04 LTS 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm6
ubuntu advisories UBUNTU-CVE-2020-10704
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- samba SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 +1 more 4.10.17+git.203.862547088ca-3.14.1
- ldb SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.5.8-3.5.1
- samba SLE Module for Python 2 15 SP2, SLE Module for Basesystem 15 SP2, SLE High Availability Extension 15 SP2 4.11.11+git.180.2cf3b203f07-4.5.1
- ldb SLE Module for Basesystem 15 SP2 2.0.12-3.3.1
- samba SLE Module for Python 2 15 SP1, SLE Module for Basesystem 15 SP1, SLE High Availability Extension 15 SP1 +1 more 4.9.5+git.317.6d82fb3918b-3.35.1
- samba SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +2 more 4.7.11+git.231.7f324c4d89e-4.40.1
suse advisories SUSE-SU-2020:2673-1SUSE-SU-2020:1948-1SUSE-SU-2020:1133-1SUSE-SU-2020:1132-1
- samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1
- samba openSUSE Leap 15.2 4.11.11+git.180.2cf3b203f07-lp152.3.6.1
- ldb openSUSE Leap 15.2 2.0.12-lp152.2.6.1
- samba openSUSE Leap 15.2 4.11.11+git.180.2cf3b203f07-lp152.3.3.1
- ldb openSUSE Leap 15.2 2.0.12-lp152.2.3.1
- samba openSUSE Leap 15.1 4.9.5+git.317.6d82fb3918b-lp151.2.24.1
opensuse advisories openSUSE-SU-2024:11365-1openSUSE-SU-2020:1313-1openSUSE-SU-2020:1023-1openSUSE-SU-2020:0601-1
- samba Alpine 3.10 4.10.15-r0
- samba Alpine 3.11 4.11.8-r0
- samba Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 4.12.2-r0
alpine advisories ALPINE-CVE-2020-10704
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-10704 updated cvss 7.5
samba: LDAP Denial of Service (stack overflow) in Samba AD DC
-
Red Hat Enterprise Linux 5 samba, samba3x Red Hat Enterprise Linux 6 samba, samba4, samba4-dc, samba-swat, samba4-libs, samba4-pidl, +17 more Red Hat Enterprise Linux 7 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +18 more Red Hat Enterprise Linux 8 ctdb, samba, libnetapi, ctdb-tests, samba-libs, samba-pidl, +24 more Red Hat Storage 3 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +21 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.54% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected products
- Red Hat samba
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/Y7DVGCHG3XPIBQ5ETGMGW7MXNOO4HFH4/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/U5KW3ZO35NVDO57JSBZHTQZOS3AIQ5QE/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-07/msg00054.html
vendor-advisory, mailing-list, third-party-advisory
-
security.gentoo.org
/glsa/202007-15
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-09/msg00002.html
vendor-advisory, mailing-list, third-party-advisory
-
samba.org
/samba/security/CVE-2020-10704.html
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2020/11/msg00041.html
mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2020-10704
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2020-10704
- NVD CVE-2020-10704
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.