Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-14342

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-14342
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:56 UTC · Revision 1

Source evidence

CVE-2020-14342

core-osv · Original source

Published 9 Sept 2020, 12:15 UTC

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.

osv:CVE-2020-14342
Complete source record
{
  "id": "dc97d05b1fba9ebf5353ec5ef928f88f28039c684d8c18822d1b7b74346b3f66",
  "url": "https://osv.dev/vulnerability/CVE-2020-14342",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-14342",
    "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.",
    "evidence": "osv:CVE-2020-14342",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-14342",
      "aliases": [
        "CVE-2020-14342"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/piastry/cifs-utils",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9449c2ac7419ef45fc08f7d4a654c100ee26fa17"
                },
                {
                  "last_affected": "5ff5fc2ecc10353fd39ad508db5c2828fd2d8d9a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:samba:cifs-utils:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.6"
                      },
                      {
                        "last_affected": "6.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "cifs-utils-6.10",
            "cifs-utils-6.9",
            "cifs-utils-6.8",
            "cifs-utils-6.7",
            "cifs-utils-6.6",
            "cifs-utils-6.5",
            "cifs-utils-6.4",
            "cifs-utils-6.3",
            "cifs-utils-6.2",
            "cifs-utils-6.1",
            "cifs-utils-6.0",
            "cifs-utils-5.9",
            "cifs-utils-5.8",
            "cifs-utils-5.7",
            "cifs-utils-5.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-14342.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:46.696669778Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DUMRICFXJVCBBOSKZSKT3HFVQM6VPJU3/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JBNFSTJOQWVPFZAUJNNMAPY45PW5RTTE/",
        "https://security.gentoo.org/glsa/202009-16",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14342",
        "https://lists.samba.org/archive/samba-technical/2020-September/135747.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  },
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.1"
                  },
                  {
                    "last_affected": "15.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-14342",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436390,
  "published_at": "2020-09-09T12:15:11.21+00:00"
}