{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-19640 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-19640 is a medium-severity command injection vulnerability in SUSE supportutils, published on 5 Mar 2019. 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-19640 and fix it if it is affected.\n\nWhat it is: CVE-2018-19640 is a medium-severity command injection vulnerability in SUSE supportutils, published on 5 Mar 2019. 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-19640 in the wild and no public exploit code.\n\nAffected product: SUSE supportutils. 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-19640/ (Markdown: https://insights.sbomify.com/CVE-2018-19640/index.md)","id":"CVE-2018-19640","markdown":"https://insights.sbomify.com/CVE-2018-19640/index.md","name":"CVE-2018-19640","record":{"aliases":["GHSA-7g5j-9rpf-g2r7"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"SUSE supportutils","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands or kill processes if supportutils is run with the -v switch and log directory files are manipulated.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microfocus","cpe":[{"product":"supportutils","vendor":"opensuse"}],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-377","name":"DEPRECATED: Insecure Temporary File"}],"description":"If the attacker manages to create files in the directory used to collect log files in supportutils before version 3.1-5.7.1 (e.g. with CVE-2018-19638) he can kill arbitrary processes on the local machine.","ecosystems":[],"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":"Code execution if run with command line switch -v","id":"CVE-2018-19640","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Solutions Business Manager (SBM) Unauthenticated remote code execution issue in version prior to 11.5","id":"CVE-2018-19641"},"packages":[],"prev":{"headline":"Code execution if run with command line switch -v","id":"CVE-2018-19639"},"products":["supportutils"],"published":"2019-03-05","related":[{"cvss_score":7.3,"headline":"Local root exploit via inclusion of attacker controlled shell script","id":"CVE-2018-19636","kev_date_added":null,"published":"2019-03-05"},{"cvss_score":6.7,"headline":"Code execution if run with command line switch -v","id":"CVE-2018-19639","kev_date_added":null,"published":"2019-03-05"},{"cvss_score":4.4,"headline":"supportconfig does not remove passwords in /etc/iscsi/iscsid.conf and /etc/target/lio_setup.sh","id":"CVE-2022-45154","kev_date_added":null,"published":"2023-02-15"},{"cvss_score":2.8,"headline":"Static temporary filename allows overwriting of files","id":"CVE-2018-19637","kev_date_added":null,"published":"2019-03-05"},{"cvss_score":2.2,"headline":"User can overwrite arbitrary log files in support tar","id":"CVE-2018-19638","kev_date_added":null,"published":"2019-03-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-09-17","vendors":["SUSE"]},"summary":"Attackers can execute arbitrary commands or kill processes if supportutils is run with the -v switch and log directory files are manipulated.","url":"https://insights.sbomify.com/CVE-2018-19640/"}