CVEfocus › CVE database › CVE-2020-14342

CVE-2020-14342

CVSS 4.4 MediumEPSS 0.7% (higher than 46% of CVEs)Published 2020-09-09Updated 2024-08-04Assigner: redhat

It was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password, which could be used to inject arbitrary commands. An attacker able to invoke mount.cifs with special permission, such as via sudo rules, could use this flaw to escalate their privileges.

CWE-77

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have 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

7Fixed
7Fix pending
1Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04cifs-utilsFixed2:6.9-1ubuntu0.2UBUNTU-CVE-2020-14342
Ubuntu 18.04cifs-utilsFixed2:6.8-1ubuntu1.2UBUNTU-CVE-2020-14342
Ubuntu 16.04cifs-utilsFix pending2:6.4-1ubuntu1.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2020-14342
Ubuntu 14.04cifs-utilsFix pending2:6.0-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2020-14342
Debian 14cifs-utilsFixed2:6.11-1DEBIAN-CVE-2020-14342
Debian 13cifs-utilsFixed2:6.11-1DEBIAN-CVE-2020-14342
Debian 12cifs-utilsFixed2:6.11-1DEBIAN-CVE-2020-14342
Red Hat Enterprise Linux 8cifs-utilsFix pending
Fix deferred
Red Hat Enterprise Linux 8cifs-utils-develFix pending
Fix deferred
Red Hat Enterprise Linux 8pam_cifscredsFix pending
Fix deferred
Red Hat Enterprise Linux 7cifs-utilsFix pending
Fix deferred
Red Hat Enterprise Linux 7cifs-utils-develFix pending
Fix deferred
Red Hat Enterprise Linux 6cifs-utilsNot affected
Alpine Linux 3.13cifs-utilsFixed6.11-r0ALPINE-CVE-2020-14342
Alpine Linux 3.11cifs-utilsFixed6.13-r0ALPINE-CVE-2020-14342

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.

Vendor advisories:

References

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.