CVE-2020-25717 Privilege escalation in samba

High 8.1 Published Updated

An authenticated attacker can exploit a flaw in Samba's domain user mapping to achieve privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-25717?

CVE-2020-25717 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 18 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2020-25717?

It affects 25 products.

Linux distribution packages (40)
redhat-virtualization-host Red Hat:rhev_hypervisor:4.4::el8All versions0:4.4.9-202201072228_8.5
redhat-virtualization-host-image-update Red Hat:rhev_hypervisor:4.4::el8All versions0:4.4.9-202201072228_8.5
samba SUSE:Enterprise Storage 6All versions4.9.5+git.477.8163dd03413-3.61.1
samba SUSE:Enterprise Storage 7All versions4.11.14+git.313.d4e302805e1-4.32.1
samba SUSE:HPE Helion OpenStack 8All versions4.6.16+git.313.502515a5bfc-3.67.2
samba SUSE:Linux Enterprise High Availability Extension 12 SP3All versions4.6.16+git.313.502515a5bfc-3.67.2
samba SUSE:Linux Enterprise High Availability Extension 12 SP4All versions4.6.16+git.313.502515a5bfc-3.67.2
samba SUSE:Linux Enterprise High Availability Extension 12 SP5All versions4.10.18+git.344.93a2ffaacec-3.44.2
samba SUSE:Linux Enterprise High Availability Extension 15All versions4.7.11+git.358.cb5ede6f1e5-4.60.2
samba SUSE:Linux Enterprise High Availability Extension 15 SP1All versions4.9.5+git.477.8163dd03413-3.61.1
samba SUSE:Linux Enterprise High Availability Extension 15 SP2All versions4.11.14+git.313.d4e302805e1-4.32.1
samba SUSE:Linux Enterprise High Availability Extension 15 SP3All versions4.13.13+git.531.903f5c0ccdc-3.17.1
samba SUSE:Linux Enterprise High Availability Extension 15 SP3All versions4.13.13+git.539.fdbc44a8598-3.20.2
samba SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions4.9.5+git.477.8163dd03413-3.61.1
samba SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions4.9.5+git.477.8163dd03413-3.61.1
samba SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions4.11.14+git.313.d4e302805e1-4.32.1
samba SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions4.11.14+git.313.d4e302805e1-4.32.1
samba SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions4.7.11+git.358.cb5ede6f1e5-4.60.2
samba SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions4.7.11+git.358.cb5ede6f1e5-4.60.2
samba SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions4.11.14+git.313.d4e302805e1-4.32.1
samba SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions4.13.13+git.531.903f5c0ccdc-3.17.1
samba SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions4.13.13+git.539.fdbc44a8598-3.20.2
samba SUSE:Linux Enterprise Module for Python 2 15 SP2All versions4.11.14+git.313.d4e302805e1-4.32.1
samba SUSE:Linux Enterprise Module for Python 2 15 SP3All versions4.13.13+git.531.903f5c0ccdc-3.17.1
samba SUSE:Linux Enterprise Module for Python 2 15 SP3All versions4.13.13+git.539.fdbc44a8598-3.20.2
samba SUSE:Linux Enterprise Server 12 SP3-BCLAll versions4.6.16+git.313.502515a5bfc-3.67.2
samba SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions4.6.16+git.313.502515a5bfc-3.67.2
samba SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions4.6.16+git.313.502515a5bfc-3.67.2
samba SUSE:Linux Enterprise Server 12 SP5All versions4.10.18+git.344.93a2ffaacec-3.44.2
samba SUSE:Linux Enterprise Server 15 SP1-BCLAll versions4.9.5+git.477.8163dd03413-3.61.1
samba SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions4.9.5+git.477.8163dd03413-3.61.1
samba SUSE:Linux Enterprise Server 15 SP2-BCLAll versions4.11.14+git.313.d4e302805e1-4.32.1
samba SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions4.11.14+git.313.d4e302805e1-4.32.1
samba SUSE:Linux Enterprise Server 15-LTSSAll versions4.7.11+git.358.cb5ede6f1e5-4.60.2
samba SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions4.6.16+git.313.502515a5bfc-3.67.2
samba SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions4.6.16+git.313.502515a5bfc-3.67.2
samba SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions4.10.18+git.344.93a2ffaacec-3.44.2
samba SUSE:Linux Enterprise Server for SAP Applications 15All versions4.7.11+git.358.cb5ede6f1e5-4.60.2
samba SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions4.9.5+git.477.8163dd03413-3.61.1
samba SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions4.11.14+git.313.d4e302805e1-4.32.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Redhat Codeready Linux Builder, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop and 19 more.

How do I fix CVE-2020-25717?

Apply the vendor's patch.

Is CVE-2020-25717 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-25717, AZL-36993, AZL-8650, CLSA-2022-1648067906, CLSA-2025-1759419790, CLSA-2025-1759433716 and 16 more.

Is CVE-2020-25717 in your software?

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

Check your SBOMs for free