cve.bz

CVE-2020-14342 OS Command Injection

7.0 highExploit referenceEPSS 0.7%Fix available

High (7.0). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
CWE-77 Improper Neutralization of Special Elements used in a Command
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-14342 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-14342?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-14342?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-14342 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:cifs-utilsfrom 5.6 through 6.10
fedoraproject:fedora32
fedoraproject:fedora33
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14cifs-utils2:6.11-1DEBIAN-CVE-2020-14342
Ubuntu18.04:LTScifs-utils2:6.8-1ubuntu1.2UBUNTU-CVE-2020-14342 USN-5459-1
Ubuntu20.04:LTScifs-utils2:6.9-1ubuntu0.2UBUNTU-CVE-2020-14342 USN-5459-1
Ubuntu22.04:LTScifs-utils2:6.14-1ubuntu0.1USN-5459-1
UbuntuPro:14.04:LTScifs-utils2:6.0-1ubuntu2+esm1UBUNTU-CVE-2020-14342 USN-7688-1
UbuntuPro:16.04:LTScifs-utils2:6.4-1ubuntu1.1+esm1UBUNTU-CVE-2020-14342 USN-7688-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morecifs-utils6.9-3.14.1SUSE-SU-2021:1455-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2cifs-utils6.9-5.6.1SUSE-SU-2020:2729-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5cifs-utils6.9-13.11.1SUSE-SU-2020:2728-1
openSUSELeap 15.1cifs-utils6.9-lp151.4.7.1openSUSE-SU-2020:1579-1
openSUSELeap 15.2cifs-utils6.9-lp152.2.3.1openSUSE-SU-2021:0639-1
openSUSETumbleweedcifs-utils6.13-1.3openSUSE-SU-2024:10683-1
Alpinev3.11cifs-utils6.13-r0ALPINE-CVE-2020-14342
Alpinev3.13cifs-utils6.11-r0ALPINE-CVE-2020-14342
Azure Linux2cifs-utils6.8-6AZL-6353

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

In order to exploit this flaw, the attacker would need to be able to inject a specially crafted username into the command run by root. This requires a specific setup (e.g.: sudo rules, etc.).

As a result, the vulnerability is considered as low severity.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6cifs-utilsNot affected
Red Hat Enterprise Linux 7cifs-utilsFix deferred
Red Hat Enterprise Linux 8cifs-utilsFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-14342.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-40 Manipulating Writeable Terminal Devices Likelihood: High · Severity: Very High
  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-136 LDAP Injection Likelihood: High · Severity: High
  • CAPEC-183 IMAP/SMTP Command Injection Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-77.

References

Check your stackJSON