{"answers":{"affected":"","exploited":"There is no known exploitation of openSUSE-SU-2026:21040-1 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"openSUSE-SU-2026:21040-1 is a command injection vulnerability in sg3_utils, published on 23 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for openSUSE-SU-2026:21040-1 and fix it if it is affected.\n\nWhat it is: openSUSE-SU-2026:21040-1 is a command injection vulnerability in sg3_utils, published on 23 Jun 2026. 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 openSUSE-SU-2026:21040-1 in the wild and no public exploit code.\n\nAffected product: sg3_utils. 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/openSUSE-SU-2026-21040-1/ (Markdown: https://insights.sbomify.com/openSUSE-SU-2026-21040-1/index.md)","id":"openSUSE-SU-2026:21040-1","markdown":"https://insights.sbomify.com/openSUSE-SU-2026-21040-1/index.md","name":"openSUSE-SU-2026:21040-1","record":{"aliases":[],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux SCSI utilities","requires_auth":"none","summary":"An attacker can execute arbitrary commands via unquoted variables in the rescan-scsi-bus.sh script, requiring local access or specific SCSI bus interactions.","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 sg3_utils fixes the following issues:\n\n- sg_inq: --export output conformance for SCSI name string and ATA fields (bsc#1267823)\n- rescan-scsi-bus.sh: quote $id_serial in findmultipath call (bsc#1268201)","ecosystems":["openSUSE:Leap 16.0"],"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 sg3_utils","id":"openSUSE-SU-2026:21040-1","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"openSUSE:Leap 16.0","fixed":["1.48~20221101+7.f75279c0-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"sg3_utils","purl":"pkg:rpm/opensuse/sg3_utils\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21040-1"}],"products":null,"published":"2026-06-23","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker can execute arbitrary commands via unquoted variables in the rescan-scsi-bus.sh script, requiring local access or specific SCSI bus interactions.","url":"https://insights.sbomify.com/openSUSE-SU-2026-21040-1/"}