Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-7738

In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command (within Bash) by a different user, as demonstrated by logging in as root and entering umount followed by a tab character for autocompletion.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-7738
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:30 UTC · Revision 1

Source evidence

CVE-2018-7738

core-osv · Original source

Published 7 Mar 2018, 02:29 UTC

In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command (within Bash) by a different user, as demonstrated by logging in as root and entering umount followed by a tab character for autocompletion.

osv:CVE-2018-7738
Complete source record
{
  "id": "dbbada58ee3f353bd270ac908e15af74091ecbd490880a0658994c8b72ebd830",
  "url": "https://osv.dev/vulnerability/CVE-2018-7738",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-7738",
    "summary": "In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command (within Bash) by a different user, as demonstrated by logging in as root and entering umount followed by a tab character for autocompletion.",
    "evidence": "osv:CVE-2018-7738",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-7738",
      "aliases": [
        "CVE-2018-7738"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/util-linux/util-linux",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "27e66e59a39f63cfbc120bf1d26bc6b63f1b4f6c"
                },
                {
                  "fixed": "75f03badd7ed9f1dd951863d75e756883d3acc55"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.31"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "75f03badd7ed9f1dd951863d75e756883d3acc55"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.31",
            "v2.31-rc2",
            "v2.31-rc1",
            "v2.30",
            "v2.30-rc2",
            "v2.30-rc1",
            "v2.29",
            "v2.29-rc2",
            "v2.29-rc1",
            "v2.28",
            "v2.28-rc2",
            "v2.28-rc1",
            "v2.27",
            "v2.27-rc2",
            "v2.27-rc1",
            "v2.26",
            "v2.26-rc2",
            "v2.26-rc1",
            "v2.25",
            "v2.25-rc2",
            "v2.25-rc1",
            "v2.24",
            "v2.24-rc2",
            "v2.24-rc1",
            "v2.23",
            "v2.23-rc2",
            "v2.23-rc1",
            "v2.22",
            "v2.22-rc2",
            "v2.22-rc1",
            "v2.21",
            "v2.21-rc2",
            "v2.21-rc1",
            "v2.20",
            "v2.20-rc2",
            "v2.20-rc1",
            "v2.19",
            "v2.19-rc3",
            "v2.19-rc2",
            "v2.19-rc1",
            "v2.18",
            "v2.18-rc2",
            "v2.18-rc1",
            "v2.17",
            "v2.17-rc3",
            "v2.17-rc2",
            "v2.17-rc1",
            "v2.16",
            "v2.16-rc2",
            "v2.16-rc1",
            "v2.15",
            "v2.15-rc2",
            "v2.15-rc1",
            "v2.14",
            "v2.14-rc3",
            "v2.14-rc2",
            "v2.14-rc1",
            "v2.13",
            "v2.13-rc3",
            "v2.13-rc2",
            "v2.13-rc1",
            "v2.13-pre7",
            "v2.13-pre6",
            "v2.13-pre5",
            "v2.13-pre4",
            "v2.13-pre3",
            "v2.13-pre2",
            "v2.13-pre1",
            "v2.12r",
            "v2.12r-pre1",
            "v2.12q",
            "v2.12q-pre2",
            "v2.12q-pre1",
            "v2.12p",
            "v2.12o",
            "v2.12m",
            "v2.12l",
            "v2.12k",
            "v2.12j",
            "v2.12i",
            "v2.12h",
            "v2.12d",
            "v2.12b",
            "v2.12a",
            "v2.12pre",
            "v2.12",
            "v2.11y",
            "v2.11x",
            "v2.11w",
            "v2.11v",
            "v2.11u",
            "v2.11t",
            "v2.11r",
            "v2.11q",
            "v2.11o",
            "v2.11n",
            "v2.11m",
            "v2.11f",
            "v2.11b",
            "v2.10s",
            "v2.10m",
            "v2.10f",
            "v2.9v",
            "v2.9i",
            "v2.8",
            "v2.7.1",
            "v2.5",
            "v2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7738.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:30.437074646Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/4512-1/",
        "https://security.netapp.com/advisory/ntap-20241213-0002/",
        "https://www.debian.org/security/2018/dsa-4134",
        "https://github.com/karelzak/util-linux/issues/539",
        "https://bugs.debian.org/892179",
        "https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-7738",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381772,
  "published_at": "2018-03-07T02:29:03.533+00:00"
}