{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-7738 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-7738 is a high-severity command injection vulnerability in n/a, published on 6 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7738 and fix it if it is affected.\n\nWhat it is: CVE-2018-7738 is a high-severity command injection vulnerability in n/a, published on 6 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-7738 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-7738/ (Markdown: https://insights.sbomify.com/CVE-2018-7738/index.md)","id":"CVE-2018-7738","markdown":"https://insights.sbomify.com/CVE-2018-7738/index.md","name":"CVE-2018-7738","record":{"aliases":["DEBIAN-CVE-2018-7738","DSA-4134-1","GHSA-jh5x-7c5f-4c44","MGASA-2018-0237","SUSE-SU-2018:2066-1","SUSE-SU-2018:2071-1","SUSE-SU-2018:3926-1","SUSE-SU-2019:0390-1","SUSE-SU-2023:3268-1","SUSE-SU-2023:4372-1","SUSE-SU-2023:4512-1","UBUNTU-CVE-2018-7738","USN-4512-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux util-linux","requires_auth":"low_privilege","summary":"Local attackers can gain privileges by embedding shell commands in mountpoint names, exploiting unsafe bash completion handling in util-linux.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"util-linux","vendor":"kernel"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[],"description":"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.","ecosystems":["SUSE:Enterprise Storage 4","SUSE:Linux Enterprise Desktop 12 SP3","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Server Applications 15","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP3","SUSE:Linux Enterprise Workstation Extension 12 SP5","SUSE:OpenStack Cloud 7","openSUSE:Leap 15.4","openSUSE:Leap 15.5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2018-7738","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2018"},"n_packages":62,"n_references":6,"next":{"headline":"Auth bypass in n/a","id":"CVE-2018-7739"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["2.28-44.18.38"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["2.28-44.18.18"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["2.28-44.18.25"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","fixed":["2.29.2-3.12.1"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3","source":"SUSE-SU-2018:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","fixed":["2.29.2-3.8.1"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3","source":"SUSE-SU-2018:2071-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","fixed":["2.29.2-3.12.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3","source":"SUSE-SU-2018:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","fixed":["2.29.2-3.8.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3","source":"SUSE-SU-2018:2071-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","fixed":["2.29.2-3.12.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3","source":"SUSE-SU-2018:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","fixed":["2.29.2-3.8.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3","source":"SUSE-SU-2018:2071-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.33.2-150100.4.40.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:4512-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.33.2-150100.4.40.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:4512-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.33.2-150100.4.40.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:4512-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.33.2-150100.4.40.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:4512-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["2.31.1-9.3.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2018:2066-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["2.31.1-9.3.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2018:2066-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15","fixed":["2.31.1-9.3.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015","source":"SUSE-SU-2018:2066-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["2.28-44.18.38"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["2.28-44.18.18"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["2.28-44.18.25"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["2.28-44.18.38"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["2.28-44.18.18"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["2.28-44.18.25"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["2.29.2-3.12.1"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2018:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["2.29.2-3.8.1"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2018:2071-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["2.29.2-3.12.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2018:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["2.29.2-3.8.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2018:2071-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["2.29.2-3.12.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2018:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["2.29.2-3.8.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2018:2071-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.33.2-4.33.1"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:3268-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.33.2-4.33.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:3268-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.33.2-4.33.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:3268-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["2.33.2-150100.4.40.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:4512-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["2.33.2-150100.4.40.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:4512-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.33.2-150100.4.40.1"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:4512-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.33.2-150100.4.40.1"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:4512-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["2.28-44.18.38"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["2.28-44.18.18"],"introduced":["0"],"last_affected":[],"package":"util-linux","purl":"pkg:rpm/suse/util-linux\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["2.28-44.18.25"],"introduced":["0"],"last_affected":[],"package":"util-linux-systemd","purl":"pkg:rpm/suse/util-linux-systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2019:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["2.29.2-3.12.1"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2018:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["2.29.2-3.8.1"],"introduced":["0"],"last_affected":[],"package":"python-libmount","purl":"pkg:rpm/suse/python-libmount\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2018:2071-1"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2018-7737"},"products":["n/a"],"published":"2018-03-06","related":[{"cvss_score":9.8,"headline":"Race condition in n/a","id":"CVE-2015-5224","kev_date_added":null,"published":"2017-08-23"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-2779","kev_date_added":null,"published":"2017-02-07"},{"cvss_score":6.8,"headline":"Util-linux: util-linux: heap use-after-free in libblkid nested partition probing","id":"CVE-2026-13595","kev_date_added":null,"published":"2026-06-29"},{"cvss_score":6.7,"headline":"Command injection in n/a","id":"CVE-2020-21583","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":5.5,"headline":"Information disclosure in util-linux","id":"CVE-2022-0563","kev_date_added":null,"published":"2022-02-21"},{"cvss_score":5.5,"headline":"Integer overflow in n/a","id":"CVE-2021-37600","kev_date_added":null,"published":"2021-07-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-12-13","vendors":["n/a"]},"summary":"Local attackers can gain privileges by embedding shell commands in mountpoint names, exploiting unsafe bash completion handling in util-linux.","url":"https://insights.sbomify.com/CVE-2018-7738/"}