{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1000622 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-1000622 is a high-severity vulnerability in n/a, published on 9 Jul 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-1000622 and fix it if it is affected.\n\nWhat it is: CVE-2018-1000622 is a high-severity vulnerability in n/a, published on 9 Jul 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-1000622 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-1000622/ (Markdown: https://insights.sbomify.com/CVE-2018-1000622/index.md)","id":"CVE-2018-1000622","markdown":"https://insights.sbomify.com/CVE-2018-1000622/index.md","name":"CVE-2018-1000622","record":{"aliases":["DEBIAN-CVE-2018-1000622","GHSA-6f94-33qx-gqcf","MGASA-2018-0318","RHEA-2018:3584","SUSE-RU-2019:0386-1","SUSE-SU-2018:3357-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Rust rustdoc tool","requires_auth":"none","summary":"Local attackers can execute arbitrary code as another user by exploiting uncontrolled search paths in rustdoc plugins when specific flags are used.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"rust","vendor":"rust-lang"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"description":"The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a CWE-427: Uncontrolled Search Path Element vulnerability in rustdoc plugins that can result in local code execution as a different user. This attack appear to be exploitable via using the --plugin flag without the --plugin-path flag. This vulnerability appears to have been fixed in 1.27.1.","ecosystems":["Red Hat:devtools:2018","SUSE:Linux Enterprise Module for Development Tools 15"],"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":"Other in n/a","id":"CVE-2018-1000622","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2018"},"n_packages":21,"n_references":5,"next":{"headline":"Path traversal in n/a","id":"CVE-2018-1000623"},"packages":[{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29","purl":"pkg:rpm/redhat/rust-toolset-1.29","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-build","purl":"pkg:rpm/redhat/rust-toolset-1.29-build","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.0-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-cargo","purl":"pkg:rpm/redhat/rust-toolset-1.29-cargo","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.0-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-cargo-doc","purl":"pkg:rpm/redhat/rust-toolset-1.29-cargo-doc","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:0.1.17-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-cargo-vendor","purl":"pkg:rpm/redhat/rust-toolset-1.29-cargo-vendor","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:0.1.17-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-cargo-vendor-debuginfo","purl":"pkg:rpm/redhat/rust-toolset-1.29-cargo-vendor-debuginfo","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:0.0.212-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-clippy-preview","purl":"pkg:rpm/redhat/rust-toolset-1.29-clippy-preview","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:0.130.0-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rls-preview","purl":"pkg:rpm/redhat/rust-toolset-1.29-rls-preview","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-runtime","purl":"pkg:rpm/redhat/rust-toolset-1.29-runtime","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust-analysis","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust-analysis","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust-debugger-common","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust-debugger-common","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust-debuginfo","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust-debuginfo","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust-doc","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust-doc","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust-gdb","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust-gdb","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust-lldb","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust-lldb","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust-src","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust-src","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:1.29.2-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rust-std-static","purl":"pkg:rpm/redhat/rust-toolset-1.29-rust-std-static","source":"RHEA-2018:3584"},{"ecosystem":"Red Hat:devtools:2018","fixed":["0:0.99.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rust-toolset-1.29-rustfmt-preview","purl":"pkg:rpm/redhat/rust-toolset-1.29-rustfmt-preview","source":"RHEA-2018:3584"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15","fixed":["1.24.1-3.6.1"],"introduced":["0"],"last_affected":[],"package":"rust","purl":"pkg:rpm/suse/rust\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015","source":"SUSE-SU-2018:3357-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15","fixed":["1.31.1-3.9.2"],"introduced":["0"],"last_affected":[],"package":"rust","purl":"pkg:rpm/suse/rust\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015","source":"SUSE-RU-2019:0386-1"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2018-1000621"},"products":["n/a"],"published":"2018-07-09","related":[{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-36318","kev_date_added":null,"published":"2021-04-11"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2018-1000810","kev_date_added":null,"published":"2018-10-08"},{"cvss_score":9.1,"headline":"Security feature bypass in n/a","id":"CVE-2021-29922","kev_date_added":null,"published":"2021-08-07"},{"cvss_score":8.2,"headline":"Rust OS Command Injection/Argument Injection vulnerability","id":"CVE-2024-43402","kev_date_added":null,"published":"2024-09-04"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2018-1000657","kev_date_added":null,"published":"2018-08-20"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2015-20001","kev_date_added":null,"published":"2021-04-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHEA"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Local attackers can execute arbitrary code as another user by exploiting uncontrolled search paths in rustdoc plugins when specific flags are used.","url":"https://insights.sbomify.com/CVE-2018-1000622/"}