CVE-2020-25717 json
A flaw was found in the way Samba maps domain users to local users.
published 2022-02-18 4 y ago modified 2026-06-17 4 mo ago also EUVD-2020-18371
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
A flaw was found in the way Samba maps domain users to local users. An authenticated attacker could use this flaw to cause possible privilege escalation.
Patch / fix
- samba samba 4.13.14, 4.14.10, 4.15.2
- samba Debian 14, Debian 13, Debian 12 2:4.13.14+dfsg-1
debian advisories DEBIAN-CVE-2020-25717
- samba Ubuntu 18.04 LTS 2:4.7.6+dfsg~ubuntu-0ubuntu2.26
- samba Ubuntu 20.04 LTS 2:4.13.14+dfsg-0ubuntu0.20.04.1
- samba Ubuntu 22.04 LTS 2:4.13.14+dfsg-0ubuntu1
ubuntu advisories UBUNTU-CVE-2020-25717
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 RHEL 7 4.10.16-17.el7_9
- ctdb RHEL 7 4.10.16-17.el7_9
- samba-dc RHEL 7 4.10.16-17.el7_9
- ctdb-tests RHEL 7 4.10.16-17.el7_9
- samba-libs RHEL 7 4.10.16-17.el7_9
- samba-pidl RHEL 7 4.10.16-17.el7_9
- samba-test RHEL 7 4.10.16-17.el7_9
- libwbclient RHEL 7 4.10.16-17.el7_9
red hat advisories RHSA-2022:0074RHSA-2022:0008RHSA-2021:5192RHSA-2021:5082RHSA-2021:4844RHSA-2021:4843
- samba Enterprise Storage 7 4.13.13+git.545.5897c2d94f3-3.12.1
- ldb Enterprise Storage 7 2.2.2-4.6.1
- samba SLES 15 SP2-BCL, SLE Module for Python 2 15 SP2, SLE Module for Basesystem 15 SP2 +9 more 4.11.14+git.313.d4e302805e1-4.32.1
- samba SLE Module for Python 2 15 SP3, SLE Module for Basesystem 15 SP3, SLE High Availability Extension 15 SP3 4.13.13+git.539.fdbc44a8598-3.20.2
- samba SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +2 more 4.7.11+git.358.cb5ede6f1e5-4.60.2
- samba SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4-LTSS +9 more 4.6.16+git.313.502515a5bfc-3.67.2
- samba SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +4 more 4.9.5+git.477.8163dd03413-3.61.1
- samba SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 +1 more 4.10.18+git.344.93a2ffaacec-3.44.2
suse advisories SUSE-SU-2022:0361-1SUSE-RU-2021:4173-2SUSE-RU-2021:4173-1SUSE-RU-2021:4149-1SUSE-RU-2021:4127-1SUSE-RU-2021:4126-1
- samba openSUSE Tumbleweed 4.15.2+git.193.a4d6307f1fd-1.1
- samba openSUSE Leap 15.3 4.9.5+git.471.5edbe3dcae7-3.57.2
- samba openSUSE Leap 15.3 4.13.13+git.531.903f5c0ccdc-3.17.1
- samba openSUSE Leap 15.2 4.11.14+git.308.666c63d4eea-lp152.3.28.1
- samba openSUSE Leap 15.3 4.11.14+git.308.666c63d4eea-4.28.1
- ldb openSUSE Leap 15.3 2.2.2-3.3.1
- samba openSUSE Leap 15.3 4.13.13+git.528.140935f8d6a-3.12.1
opensuse advisories openSUSE-SU-2024:11631-1openSUSE-SU-2021:3674-1openSUSE-SU-2021:3662-1openSUSE-SU-2021:1471-1openSUSE-SU-2021:3650-1openSUSE-SU-2021:3647-1
- samba-vfs-iouring AlmaLinux 8 4.14.5-9.el8_5
- samba-vfs-iouring AlmaLinux 8 4.14.5-7.el8_5
almalinux advisories ALSA-2022:0332ALSA-2021:5082
- samba Rocky Linux 8 4.14.5-7.el8_5
rocky linux advisories RLSA-2021:5082
- samba Alpine 3.13 4.13.17-r0
- samba Alpine 3.14 4.14.12-r0
- samba Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 4.15.2-r0
alpine advisories ALPINE-CVE-2020-25717
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- samba Azure Linux 3.0 4.18.3-1
azure linux advisories AZL-36993
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- samba Arch Linux 4.15.2-1
arch linux advisories AVG-2538
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-25717 updated cvss 8.1
samba: Active Directory (AD) domain user could become root on domain members
-
Red Hat Enterprise Linux 6 samba, samba4, samba4-dc, samba-swat, samba4-libs, samba4-pidl, +17 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) samba-devel 4.14.5-7.el8_5, ctdb-debuginfo 4.14.5-7.el8_5, samba-debuginfo 4.14.5-7.el8_5, libwbclient-devel 4.14.5-7.el8_5, samba-debugsource 4.14.5-7.el8_5, libsmbclient-devel 4.14.5-7.el8_5, +17 morefixed: vendor fix RHSA-2021:5082
-
Red Hat CodeReady Linux Builder EUS (v. 8.2) ctdb-debuginfo 4.11.2-18.el8_2, samba-debuginfo 4.11.2-18.el8_2, libwbclient-devel 4.11.2-18.el8_2, samba-debugsource 4.11.2-18.el8_2, libsmbclient-devel 4.11.2-18.el8_2, ctdb-tests-debuginfo 4.11.2-18.el8_2, +16 morefixed: vendor fix RHSA-2022:0074
-
Red Hat Enterprise Linux AppStream (v. 8) samba-vfs-iouring 4.14.5-7.el8_5 Red Hat Enterprise Linux BaseOS (v. 8) ctdb 4.14.5-7.el8_5, samba 4.14.5-7.el8_5, samba-libs 4.14.5-7.el8_5, samba-pidl 4.14.5-7.el8_5, samba-test 4.14.5-7.el8_5, libwbclient 4.14.5-7.el8_5, +15 morefixed: vendor fix RHSA-2021:5082
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) ctdb 4.11.2-18.el8_2, samba 4.11.2-18.el8_2, ctdb-tests 4.11.2-18.el8_2, samba-libs 4.11.2-18.el8_2, samba-pidl 4.11.2-18.el8_2, samba-test 4.11.2-18.el8_2, +15 morefixed: vendor fix RHSA-2022:0074
-
Red Hat Enterprise Linux BaseOS EUS (v.8.4) ctdb 4.13.3-8.el8_4, samba 4.13.3-8.el8_4, ctdb-tests 4.13.3-8.el8_4, samba-libs 4.13.3-8.el8_4, samba-pidl 4.13.3-8.el8_4, samba-test 4.13.3-8.el8_4, +16 morefixed: vendor fix RHSA-2022:0008
-
Red Hat Enterprise Linux Client (v. 7) samba 4.10.16-17.el7_9, samba-libs 4.10.16-17.el7_9, libwbclient 4.10.16-17.el7_9, libsmbclient 4.10.16-17.el7_9, samba-client 4.10.16-17.el7_9, samba-common 4.10.16-17.el7_9, +7 more Red Hat Enterprise Linux Client Optional (v. 7) samba 4.10.16-17.el7_9, samba-dc 4.10.16-17.el7_9, samba-pidl 4.10.16-17.el7_9, samba-test 4.10.16-17.el7_9, samba-python 4.10.16-17.el7_9, samba-dc-libs 4.10.16-17.el7_9, +4 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) samba 4.10.16-17.el7_9, samba-dc 4.10.16-17.el7_9, samba-pidl 4.10.16-17.el7_9, samba-test 4.10.16-17.el7_9, samba-python 4.10.16-17.el7_9, samba-dc-libs 4.10.16-17.el7_9, +5 morefixed: vendor fix RHSA-2021:5192
-
Red Hat Enterprise Linux CRB EUS (v.8.4) samba-devel 4.13.3-8.el8_4, ctdb-debuginfo 4.13.3-8.el8_4, samba-debuginfo 4.13.3-8.el8_4, libwbclient-devel 4.13.3-8.el8_4, samba-debugsource 4.13.3-8.el8_4, libsmbclient-devel 4.13.3-8.el8_4, +18 morefixed: vendor fix RHSA-2022:0008
show 7 moreshow fewer
-
Red Hat Enterprise Linux Server (v. 7) samba 4.10.16-17.el7_9, samba-libs 4.10.16-17.el7_9, libwbclient 4.10.16-17.el7_9, libsmbclient 4.10.16-17.el7_9, samba-client 4.10.16-17.el7_9, samba-common 4.10.16-17.el7_9, +8 more Red Hat Enterprise Linux Server Optional (v. 7) samba-dc 4.10.16-17.el7_9, samba-pidl 4.10.16-17.el7_9, samba-test 4.10.16-17.el7_9, samba-python 4.10.16-17.el7_9, samba-dc-libs 4.10.16-17.el7_9, samba-test-libs 4.10.16-17.el7_9, +3 more Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb 4.10.16-17.el7_9, ctdb-tests 4.10.16-17.el7_9 Red Hat Enterprise Linux Workstation (v. 7) samba 4.10.16-17.el7_9, samba-libs 4.10.16-17.el7_9, libwbclient 4.10.16-17.el7_9, libsmbclient 4.10.16-17.el7_9, samba-client 4.10.16-17.el7_9, samba-common 4.10.16-17.el7_9, +8 more Red Hat Enterprise Linux Workstation Optional (v. 7) samba-dc 4.10.16-17.el7_9, samba-pidl 4.10.16-17.el7_9, samba-test 4.10.16-17.el7_9, samba-dc-libs 4.10.16-17.el7_9, samba-test-libs 4.10.16-17.el7_9, samba-python-test 4.10.16-17.el7_9, +2 morefixed: vendor fix RHSA-2021:5192
-
Red Hat Gluster 3.5 Samba on RHEL-7 ctdb 4.11.6-114.el7rhgs, samba 4.11.6-114.el7rhgs, samba-libs 4.11.6-114.el7rhgs, samba-pidl 4.11.6-114.el7rhgs, libwbclient 4.11.6-114.el7rhgs, libsmbclient 4.11.6-114.el7rhgs, +12 morefixed: vendor fix RHSA-2021:4844
-
Red Hat Gluster 3.5 Samba on RHEL-8 ctdb 4.14.5-204.el8rhgs, samba 4.14.5-204.el8rhgs, samba-libs 4.14.5-204.el8rhgs, samba-pidl 4.14.5-204.el8rhgs, libwbclient 4.14.5-204.el8rhgs, libsmbclient 4.14.5-204.el8rhgs, +12 morefixed: vendor fix RHSA-2021:4843
-
Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host 4.3.21-20220126.0.el7_9, redhat-virtualization-host-image-update 4.3.21-20220126.0.el7_9fixed: vendor fix RHSA-2022:0443
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.4.9-202201072228_8.5, redhat-virtualization-host-image-update 4.4.9-202201072228_8.5fixed: vendor fix RHSA-2022:0133
-
Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) redhat-virtualization-host 4.3.21-20220126.0.el7_9, redhat-virtualization-host-image-update 4.3.21-20220126.0.el7_9fixed: vendor fix RHSA-2022:0443
-
Red Hat Enterprise Linux 9 ctdb, samba, libldb, ldb-tools, libnetapi, samba-libs, +27 more Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.3.21-1.el7ev, redhat-virtualization-host-image-update-placeholder 4.3.21-1.el7ev Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.4.9-4.el8ev, redhat-release-virtualization-host-content 4.4.9-4.el8ev, redhat-virtualization-host-image-update-placeholder 4.4.9-4.el8evnot 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
1.63% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 8.5 | AV:N/AC:L/Au:S/C:C/I:C/A:N |
Affected products
- n/a samba
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
bugzilla.redhat.com
/show_bug.cgi?id=2019672
issue-tracking, patch, third-party-advisory
-
security.gentoo.org
/glsa/202309-06
vendor-advisory
-
samba.org
/samba/security/CVE-2020-25717.html
mitigation, vendor-advisory
Sources
- CVE List CVE-2020-25717
- NVD CVE-2020-25717
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.