CVE-2020-10704
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | samba | Fixed | 2:4.11.6+dfsg-0ubuntu1.1 | UBUNTU-CVE-2020-10704 |
| Ubuntu 18.04 | samba | Fixed | 2:4.7.6+dfsg~ubuntu-0ubuntu2.16 | UBUNTU-CVE-2020-10704 |
| Ubuntu 16.04 | samba | Fixed | 2:4.3.11+dfsg-0ubuntu0.16.04.26 | UBUNTU-CVE-2020-10704 |
| Ubuntu 14.04 | samba | Fix pending | 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm6 (Ubuntu Pro) | UBUNTU-CVE-2020-10704 |
| Debian 14 | samba | Fixed | 2:4.12.3+dfsg-2 | DEBIAN-CVE-2020-10704 |
| Debian 13 | samba | Fixed | 2:4.12.3+dfsg-2 | DEBIAN-CVE-2020-10704 |
| Debian 12 | samba | Fixed | 2:4.12.3+dfsg-2 | DEBIAN-CVE-2020-10704 |
| Red Hat Enterprise Linux 8 | ctdb | Not affected | ||
| Red Hat Enterprise Linux 8 | ctdb-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | libnetapi | Not affected | ||
| Red Hat Enterprise Linux 8 | libnetapi-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 8 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libwbclient | Not affected | ||
| Red Hat Enterprise Linux 8 | libwbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-samba | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-samba-dc | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-samba-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-samba-test | Not affected | ||
| Red Hat Enterprise Linux 8 | samba | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-client-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-common-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-common-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-dcerpc | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-krb5-printing | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-ldb-ldap-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-pidl | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-test | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-test-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-usershares | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-vfs-iouring | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winbind-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winexe | Not affected | ||
| Red Hat Enterprise Linux 7 | ctdb | Not affected | ||
| Red Hat Enterprise Linux 7 | ctdb-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ctdb-tests | Not affected | ||
| Red Hat Enterprise Linux 7 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 7 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libwbclient | Not affected | ||
| Red Hat Enterprise Linux 7 | libwbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-client-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-dc | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-krb5-printing | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-pidl | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-python | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-python-test | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-vfs-glusterfs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-modules | Not affected | ||
| Red Hat Enterprise Linux 6 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 6 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-domainjoin-gui | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-glusterfs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-swat | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4 | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-client | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-common | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-dc | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-pidl | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-python | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-swat | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-test | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 5 | samba | Not affected | ||
| Red Hat Enterprise Linux 5 | samba3x | Not affected | ||
| Alpine Linux 3.24 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.23 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.22 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.21 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.20 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.19 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.18 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.17 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.16 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.15 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.14 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.13 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.12 | samba | Fixed | 4.12.2-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.11 | samba | Fixed | 4.11.8-r0 | ALPINE-CVE-2020-10704 |
| Alpine Linux 3.10 | samba | Fixed | 4.10.15-r0 | ALPINE-CVE-2020-10704 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat samba: affected: All versions before 4.10.15, All versions before 4.11.8, All versions before 4.12.2
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00054.html (vendor-advisory)
- https://security.gentoo.org/glsa/202007-15 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00002.html (vendor-advisory)
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y7DVGCHG3XPIBQ5ETGMGW7MXNOO4HFH4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U5KW3ZO35NVDO57JSBZHTQZOS3AIQ5QE/
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00054.html
- https://security.gentoo.org/glsa/202007-15
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00002.html
- https://lists.debian.org/debian-lts-announce/2020/11/msg00041.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10704
- https://www.samba.org/samba/security/CVE-2020-10704.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.