{"answers":{"affected":"","exploited":"There is no known exploitation of SUSE-SU-2017:2697-1 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"SUSE-SU-2017:2697-1 is a command injection vulnerability in libvirt, published on 10 Oct 2017. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for SUSE-SU-2017:2697-1 and fix it if it is affected.\n\nWhat it is: SUSE-SU-2017:2697-1 is a command injection vulnerability in libvirt, published on 10 Oct 2017. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of SUSE-SU-2017:2697-1 in the wild and no public exploit code.\n\nAffected product: libvirt. 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/SUSE-SU-2017-2697-1/ (Markdown: https://insights.sbomify.com/SUSE-SU-2017-2697-1/index.md)","id":"SUSE-SU-2017:2697-1","markdown":"https://insights.sbomify.com/SUSE-SU-2017-2697-1/index.md","name":"SUSE-SU-2017:2697-1","record":{"aliases":[],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Virtualization management","requires_auth":"low_privilege","summary":"An attacker can execute arbitrary commands by providing a malicious hostname in SSH connections, affecting libvirt virtualization management.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"This update for libvirt fixes several issues.\n\nThis security issue was fixed:\n\n- bsc#1053600: Escape ssh commed line to prevent interpreting malicious\n  hostname as arguments, allowing for command execution\n\nThese non-security issues were fixed:\n\n- bsc#1049505, bsc#1051017: Security manager: Don't autogenerate seclabels of\n  type 'none' when AppArmor is inactive\n- bsc#1052151: Moved /usr/share/libvirt/libvirtLogo.png symlink from client to\n  doc subpackage, where its target resides\n- bsc#1048783: Ignore newlines in libvirt-guests.sh guest list\n- bsc#1031056: Add default controllers for USB devices\n- bsc#1012143: Define path to parted using autoconf cache variable. parted is\n  used for management of disk-based storage pools\n- bsc#1036785: Prevent output of null target in domxml-to-native","ecosystems":["SUSE:Linux Enterprise Desktop 12 SP2","SUSE:Linux Enterprise Server 12 SP2","SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP2","SUSE:Linux Enterprise Workstation Extension 12 SP2"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Security update for libvirt","id":"SUSE-SU-2017:2697-1","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2017"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","fixed":["2.0.0-27.20.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2","source":"SUSE-SU-2017:2697-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2","fixed":["2.0.0-27.20.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2","source":"SUSE-SU-2017:2697-1"},{"ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","fixed":["2.0.0-27.20.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2","source":"SUSE-SU-2017:2697-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["2.0.0-27.20.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2017:2697-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","fixed":["2.0.0-27.20.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2","source":"SUSE-SU-2017:2697-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","fixed":["2.0.0-27.20.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP2","source":"SUSE-SU-2017:2697-1"}],"products":null,"published":"2017-10-10","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker can execute arbitrary commands by providing a malicious hostname in SSH connections, affecting libvirt virtualization management.","url":"https://insights.sbomify.com/SUSE-SU-2017-2697-1/"}