Skip to content
Fencer Vulns
medium 4.4

CVE-2020-14342 json

It was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password, which could be used to inject arbitrary c…

published 2020-09-09 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-6487

cvss
4.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 51%
public exploits
0
none known

Summary

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.

Patch / fix

  • cifs-utils Debian 14, Debian 13, Debian 12 2:6.11-1

debian advisories DEBIAN-CVE-2020-14342

  • cifs-utils Ubuntu 18.04 LTS 2:6.8-1ubuntu1.2
  • cifs-utils Ubuntu 20.04 LTS 2:6.9-1ubuntu0.2
  • cifs-utils Ubuntu Pro 14.04 LTS 2:6.0-1ubuntu2+esm1
  • cifs-utils Ubuntu Pro 16.04 LTS 2:6.4-1ubuntu1.1+esm1

ubuntu advisories UBUNTU-CVE-2020-14342

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

  • cifs-utils SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 6.9-3.14.1
  • cifs-utils SLE Module for Basesystem 15 SP2, SLE Module for Basesystem 15 SP1 6.9-5.6.1
  • cifs-utils SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 6.9-13.11.1

suse advisories SUSE-SU-2021:1455-1SUSE-SU-2020:2729-1SUSE-SU-2020:2728-1

  • cifs-utils openSUSE Tumbleweed 6.13-1.3
  • cifs-utils openSUSE Leap 15.2 6.9-lp152.2.3.1
  • cifs-utils openSUSE Leap 15.1 6.9-lp151.4.7.1

opensuse advisories openSUSE-SU-2024:10683-1openSUSE-SU-2021:0639-1openSUSE-SU-2020:1579-1

  • cifs-utils Alpine 3.11 6.13-r0
  • cifs-utils Alpine 3.13 6.11-r0

alpine advisories ALPINE-CVE-2020-14342

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cifs-utils CBL-Mariner 2.0 6.8-6

azure linux advisories AZL-6353

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

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-14342 updated cvss 7.0

cifs-utils: shell command injection in mount.cifs

  • Red Hat Enterprise Linux 7 cifs-utils Red Hat Enterprise Linux 8 cifs-utils, pam_cifscreds
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 6 cifs-utils
    not 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

0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • lists.samba.org https://lists.samba.org/archive/samba-technical/2020-September/135747.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD 3.1 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • samba cifs-utils

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

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.