{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-0358 exists.","fix":"Apply the vendor's patch.","what":"CVE-2017-0358 is a high-severity vulnerability in Debian Debian Linux, published on 13 Apr 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-2017-0358 and fix it if it is affected.\n\nWhat it is: CVE-2017-0358 is a high-severity vulnerability in Debian Debian Linux, published on 13 Apr 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-0358 exists.\n\nAffected product: Debian Debian Linux. 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-2017-0358/ (Markdown: https://insights.sbomify.com/CVE-2017-0358/index.md)","id":"CVE-2017-0358","markdown":"https://insights.sbomify.com/CVE-2017-0358/index.md","name":"CVE-2017-0358","record":{"aliases":["DEBIAN-CVE-2017-0358","DLA-815-1","DSA-3780-1","GHSA-vghw-r4fc-pgpf","SUSE-SU-2018:2070-1","SUSE-SU-2018:3587-1","SUSE-SU-2018:3587-2","UBUNTU-CVE-2017-0358","USN-3182-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NTFS FUSE driver","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges to root by exploiting environment variable handling in the NTFS-3G driver when executing modprobe.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"debian","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"ntfs-3g","vendor":"tuxera"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"Jann Horn of Google Project Zero discovered that NTFS-3G, a read-write NTFS driver for FUSE, does not scrub the environment before executing modprobe with elevated privileges. A local user can take advantage of this flaw for local root privilege escalation.","ecosystems":["SUSE:Linux Enterprise Desktop 12 SP3","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP4","SUSE:Linux Enterprise Workstation Extension 12 SP3","SUSE:Linux Enterprise Workstation Extension 12 SP4"],"exploits":{"exploitdb":2,"first_seen":"2017-01-05","github_poc":1,"max_poc_stars":0,"metasploit":1,"nuclei":0,"refs":[{"date":"2017-01-05","kind":"metasploit","ref":"exploit/linux/local/ntfs3g_priv_esc","stars":null,"title":"Debian/Ubuntu ntfs-3g Local Privilege Escalation"},{"date":"2017-02-03","kind":"exploitdb","ref":"41240","stars":null,"title":"ntfs-3g (Debian 9) - Local Privilege Escalation"},{"date":"2017-02-14","kind":"exploitdb","ref":"41356","stars":null,"title":"ntfs-3g - Unsanitized modprobe Environment Privilege Escalation"},{"date":"2022-04-12T14:44:13Z","kind":"github_poc","ref":"https://github.com/Wangsafz/cve-2017-0358.sh","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"ntfs-3g: Modprobe influence vulnerability via environment variables","id":"CVE-2017-0358","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux"],"type":"privilege_escalation","year":"2017"},"n_packages":7,"n_references":7,"next":{"headline":"diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive","id":"CVE-2017-0359"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","fixed":["2013.1.13-5.3.1"],"introduced":["0"],"last_affected":[],"package":"ntfs-3g_ntfsprogs","purl":"pkg:rpm/suse/ntfs-3g_ntfsprogs\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3","source":"SUSE-SU-2018:3587-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","fixed":["2013.1.13-5.3.1"],"introduced":["0"],"last_affected":[],"package":"ntfs-3g_ntfsprogs","purl":"pkg:rpm/suse/ntfs-3g_ntfsprogs\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4","source":"SUSE-SU-2018:3587-2"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","fixed":["2011.4.12-0.9.3.1"],"introduced":["0"],"last_affected":[],"package":"ntfs-3g","purl":"pkg:rpm/suse/ntfs-3g\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4","source":"SUSE-SU-2018:2070-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","fixed":["2013.1.13-5.3.1"],"introduced":["0"],"last_affected":[],"package":"ntfs-3g_ntfsprogs","purl":"pkg:rpm/suse/ntfs-3g_ntfsprogs\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3","source":"SUSE-SU-2018:3587-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","fixed":["2013.1.13-5.3.1"],"introduced":["0"],"last_affected":[],"package":"ntfs-3g_ntfsprogs","purl":"pkg:rpm/suse/ntfs-3g_ntfsprogs\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4","source":"SUSE-SU-2018:3587-2"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","fixed":["2013.1.13-5.3.1"],"introduced":["0"],"last_affected":[],"package":"ntfs-3g_ntfsprogs","purl":"pkg:rpm/suse/ntfs-3g_ntfsprogs\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP3","source":"SUSE-SU-2018:3587-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP4","fixed":["2013.1.13-5.3.1"],"introduced":["0"],"last_affected":[],"package":"ntfs-3g_ntfsprogs","purl":"pkg:rpm/suse/ntfs-3g_ntfsprogs\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP4","source":"SUSE-SU-2018:3587-2"}],"prev":{"headline":"iucode-tool: heap buffer overflow on -tr loader","id":"CVE-2017-0357"},"products":["ntfs-3g"],"published":"2018-04-13","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-04","vendors":["ntfs-3g"]},"summary":"Local attackers can escalate privileges to root by exploiting environment variable handling in the NTFS-3G driver when executing modprobe.","url":"https://insights.sbomify.com/CVE-2017-0358/"}