Every CVE Search/ Get API key

CVE-2020-14342

It was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password,...

4.4 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.65%Down 0.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 4.4

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.

Record
CVE-2020-14342
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-77
Updated
2026-11-02
EUVDEUVD-2020-6487 4.4

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.

Record
EUVD-2020-6487
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-7mmj-72wg-6gpv 7.0

It was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password,...

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.

Record
GHSA-7mmj-72wg-6gpv
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
NVD 4.4

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.

Record
CVE-2020-14342
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.4 MediumAV:L/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-77, CWE-78
Updated
2026-11-02
OSVALPINE-CVE-2020-14342 7.0

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.

Record
ALPINE-CVE-2020-14342
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-6353 7.0

CVE-2020-14342 affecting package cifs-utils for versions less than 6.8-6

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.

Record
AZL-6353
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 14 moreShow less
OSV 7.0

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.

Record
CVE-2020-14342
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-14342 7.0

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.

Record
DEBIAN-CVE-2020-14342
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-14342 4.4

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.

Record
UBUNTU-CVE-2020-14342
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVCLSA-2026-1792442320 No score

cifs-utils: Fix of CVE-2022-27239

  • CVE-2020-14342: mount.cifs shell command injection via username mount option when built with systemd-ask-password support
Record
CLSA-2026-1792442320
Updated
2026-11-02
OSVCLSA-2026-1792442514 No score

cifs-utils: Fix of CVE-2022-27239

  • CVE-2020-14342: mount.cifs shell command injection via username mount option when built with systemd-ask-password support
Record
CLSA-2026-1792442514
Updated
2026-11-02
OSVMGASA-2020-0376 No score

Updated cifs-utils packages fix security vulnerability

The mount.cifs utility has a shell injection issue where one can embed shell commands via the username mount option. Those commands will be run via popen() in the context of the user calling mount (CVE-2020-14342).

Record
MGASA-2020-0376
Updated
2026-11-02
OSVopenSUSE-SU-2020:1579-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2020-14342: Fixed a shell command injection vulnerability in mount.cifs (bsc#1174477).
  • Fixed an invalid free in mount.cifs; (bsc#1152930).

This update was imported from the SUSE:SLE-15-SP1:Update update project.

Record
openSUSE-SU-2020:1579-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:0639-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following security issues:

  • CVE-2021-20208: Fixed a potential kerberos auth leak escaping from container. (bsc#1183239)
  • CVE-2020-14342: Fixed a shell command injection vulnerability in mount.cifs. (bsc#1174477)

This update for cifs-utils fixes the following issues:

  • Solve invalid directory mounting. When attempting to change the current working directory into non-existing directories, mount.cifs crashes. (bsc#1152930)

  • Fixed a bug where it was no longer possible to mount CIFS filesystem after the last maintenance update. (bsc#1184815)

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2021:0639-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10683-1 No score

cifs-utils-6.13-1.3 on GA media

These are all security issues fixed in the cifs-utils-6.13-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10683-1
Updated
2026-11-02
OSVSUSE-SU-2020:2728-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2020-14342: Fixed a shell command injection vulnerability in mount.cifs (bsc#1174477).
Record
SUSE-SU-2020:2728-1
Updated
2026-11-02
OSVSUSE-SU-2020:2729-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2020-14342: Fixed a shell command injection vulnerability in mount.cifs (bsc#1174477).
  • Fixed an invalid free in mount.cifs; (bsc#1152930).
Record
SUSE-SU-2020:2729-1
Updated
2026-11-02
OSVSUSE-SU-2021:1455-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following security issues:

  • CVE-2021-20208: Fixed a potential kerberos auth leak escaping from container. (bsc#1183239)
  • CVE-2020-14342: Fixed a shell command injection vulnerability in mount.cifs. (bsc#1174477)

This update for cifs-utils fixes the following issues:

  • Solve invalid directory mounting. When attempting to change the current working directory into non-existing directories, mount.cifs crashes. (bsc#1152930)

  • Fixed a bug where it was no longer possible to mount CIFS filesystem after the last maintenance update. (bsc#1184815)

Record
SUSE-SU-2021:1455-1
Updated
2026-11-02
OSVUSN-5459-1 No score

cifs-utils vulnerabilities

Aurélien Aptel discovered that cifs-utils invoked a shell when requesting a password. In certain environments, a local attacker could possibly use this issue to escalate privileges. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14342)

It was discovered that cifs-utils incorrectly used host credentials when mounting a krb5 CIFS file system from within a container. An attacker inside a container could possibly use this issue to obtain access to sensitive information. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-20208)

It was discovered that cifs-utils incorrectly handled certain command-line arguments. A local attacker could possibly use this issue to obtain root privileges. (CVE-2022-27239)

It was discovered that cifs-utils incorrectly handled verbose logging. A local attacker could possibly use this issue to obtain sensitive information. (CVE-2022-29869)

Record
USN-5459-1
Updated
2026-11-02
OSVUSN-7688-1 No score

cifs-utils vulnerabilities

Aurélien Aptel discovered that cifs-utils invoked a shell when requesting a password. In certain environments, a local attacker could possibly use this issue to escalate privileges. (CVE-2020-14342)

It was discovered that cifs-utils incorrectly used host credentials when mounting a krb5 CIFS file system from within a container. An attacker inside a container could possibly use this issue to obtain access to sensitive information. (CVE-2021-20208)

It was discovered that cifs-utils incorrectly handled certain command-line arguments. A local attacker could possibly use this issue to obtain root privileges. (CVE-2022-27239)

It was discovered that cifs-utils incorrectly handled verbose logging. A local attacker could possibly use this issue to obtain sensitive information. (CVE-2022-29869)

Record
USN-7688-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cifs-utils
Alpine:v3.11
5.6 up to 6.13-r0
6.13-r0
cifs-utils
Alpine:v3.13
5.6 up to 6.11-r0
6.11-r0
cifs-utils
Azure Linux:2
before 6.8-6
6.8-6
cifs-utils
TuxCare:RHEL:7
From an advisory covering 2 CVEs
before 6.2-10.el7.0.5.tuxcare.els3
6.2-10.el7.0.5.tuxcare.els3
cifs-utils-devel
TuxCare:RHEL:7
From an advisory covering 2 CVEs
before 6.2-10.el7.0.5.tuxcare.els3
6.2-10.el7.0.5.tuxcare.els3
cifs-utils
TuxCare:OracleLinux:7
From an advisory covering 2 CVEs
before 6.2-10.el7.0.5.tuxcare.els3
6.2-10.el7.0.5.tuxcare.els3
cifs-utils-devel
TuxCare:OracleLinux:7
From an advisory covering 2 CVEs
before 6.2-10.el7.0.5.tuxcare.els3
6.2-10.el7.0.5.tuxcare.els3
cifs-utils
Debian:12
before 2:6.11-1
2:6.11-1
cifs-utils
Debian:13
before 2:6.11-1
2:6.11-1
cifs-utils
Debian:14
before 2:6.11-1
2:6.11-1
Show 22 moreShow less
Affected packages
PackageAffectedFixed
cifs-utils
Mageia:7
before 6.9-6.1.mga7
6.9-6.1.mga7
cifs-utils
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 6.9-13.11.1
6.9-13.11.1
cifs-utils
SUSE:Linux Enterprise Server 12 SP5
before 6.9-13.11.1
6.9-13.11.1
cifs-utils
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 6.9-13.11.1
6.9-13.11.1
cifs-utils
SUSE:Linux Enterprise Module for Basesystem 15 SP1
before 6.9-5.6.1
6.9-5.6.1
cifs-utils
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 6.9-5.6.1
6.9-5.6.1
cifs-utils
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
From an advisory covering 2 CVEs
before 6.9-3.14.1
6.9-3.14.1
cifs-utils
SUSE:Linux Enterprise High Performance Computing 15-LTSS
From an advisory covering 2 CVEs
before 6.9-3.14.1
6.9-3.14.1
cifs-utils
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 2 CVEs
before 6.9-3.14.1
6.9-3.14.1
cifs-utils
SUSE:Linux Enterprise Server for SAP Applications 15
From an advisory covering 2 CVEs
before 6.9-3.14.1
6.9-3.14.1
cifs-utils
Ubuntu:Pro:14.04:LTS
before 2:6.0-1ubuntu2+esm1, plus listed versions
2:6.0-1ubuntu2
2:6.0-1ubuntu2+esm1
cifs-utils
Ubuntu:Pro:16.04:LTS
before 2:6.4-1ubuntu1.1+esm1, plus listed versions
2:6.4-1ubuntu12:6.4-1ubuntu1.1
2:6.4-1ubuntu1.1+esm1
cifs-utils
Ubuntu:18.04:LTS
before 2:6.8-1ubuntu1.2, plus listed versions
2:6.7-12:6.8-12:6.8-1ubuntu12:6.8-1ubuntu1.1
2:6.8-1ubuntu1.2
cifs-utils
Ubuntu:20.04:LTS
before 2:6.9-1ubuntu0.2, plus listed versions
2:6.9-0ubuntu12:6.9-12:6.9-1ubuntu0.1
2:6.9-1ubuntu0.2
cifs-utils
Ubuntu:18.04:LTS
From an advisory covering 4 CVEs
before 2:6.8-1ubuntu1.2, plus listed versions
2:6.7-12:6.8-12:6.8-1ubuntu12:6.8-1ubuntu1.1
2:6.8-1ubuntu1.2
cifs-utils
Ubuntu:20.04:LTS
From an advisory covering 4 CVEs
before 2:6.9-1ubuntu0.2, plus listed versions
2:6.9-0ubuntu12:6.9-12:6.9-1ubuntu0.1
2:6.9-1ubuntu0.2
cifs-utils
Ubuntu:22.04:LTS
From an advisory covering 4 CVEs
before 2:6.14-1ubuntu0.1, plus listed versions
2:6.11-3.12:6.14-12:6.14-1build1
2:6.14-1ubuntu0.1
cifs-utils
Ubuntu:Pro:14.04:LTS
From an advisory covering 4 CVEs
before 2:6.0-1ubuntu2+esm1, plus listed versions
2:6.0-1ubuntu2
2:6.0-1ubuntu2+esm1
cifs-utils
Ubuntu:Pro:16.04:LTS
From an advisory covering 4 CVEs
before 2:6.4-1ubuntu1.1+esm1, plus listed versions
2:6.4-1ubuntu12:6.4-1ubuntu1.1
2:6.4-1ubuntu1.1+esm1
cifs-utils
openSUSE:Leap 15.1
before 6.9-lp151.4.7.1
6.9-lp151.4.7.1
cifs-utils
openSUSE:Leap 15.2
From an advisory covering 2 CVEs
before 6.9-lp152.2.3.1
6.9-lp152.2.3.1
cifs-utils
openSUSE:Tumbleweed
From an advisory covering 16 CVEs
before 6.13-1.3
6.13-1.3

History

History
RecordedChangedSources
affected, facts
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-14342 is a medium vulnerability (CVSS 4.4) in Cifs-utils, published September 9, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in cifs-utils 6.13-r0.

References

Show 44 moreShow less
MoveEnter Open