{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-25316 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-25316 is a low-severity vulnerability in SUSE Linux Enterprise Server 12-SP5, published on 14 Apr 2021. 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-2021-25316 and fix it if it is affected.\n\nWhat it is: CVE-2021-25316 is a low-severity vulnerability in SUSE Linux Enterprise Server 12-SP5, published on 14 Apr 2021. 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 CVE-2021-25316 in the wild and no public exploit code.\n\nAffected product: SUSE Linux Enterprise Server 12-SP5. 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-2021-25316/ (Markdown: https://insights.sbomify.com/CVE-2021-25316/index.md)","id":"CVE-2021-25316","markdown":"https://insights.sbomify.com/CVE-2021-25316/index.md","name":"CVE-2021-25316","record":{"aliases":["GHSA-xww5-ggv5-g549","SUSE-SU-2021:0776-1","SUSE-SU-2021:0777-1","openSUSE-SU-2024:13514-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SUSE Linux tools","requires_auth":"low_privilege","summary":"Local attackers can prevent VM live migrations by exploiting insecure temporary files in the detach_disks.sh script within s390-tools.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[{"product":"s390-tools","vendor":"suse"}],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-377","name":"DEPRECATED: Insecure Temporary File"}],"description":"A Insecure Temporary File vulnerability in s390-tools of SUSE Linux Enterprise Server 12-SP5, SUSE Linux Enterprise Server 15-SP2 allows local attackers to prevent VM live migrations This issue affects: SUSE Linux Enterprise Server 12-SP5 s390-tools versions prior to 2.1.0-18.29.1. SUSE Linux Enterprise Server 15-SP2 s390-tools versions prior to 2.11.0-9.20.1.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","openSUSE:Tumbleweed"],"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":"Local DoS of VM live migration due to use of static tmp files in detach_disks.sh in s390-tools","id":"CVE-2021-25316","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2021"},"n_packages":4,"n_references":1,"next":{"headline":"cups: ownership of /var/log/cups allows the lp user to create files as root","id":"CVE-2021-25317"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["2.11.0-9.20.1"],"introduced":["0"],"last_affected":[],"package":"s390-tools","purl":"pkg:rpm/suse/s390-tools\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2021:0777-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.1.0-18.29.1"],"introduced":["0"],"last_affected":[],"package":"s390-tools","purl":"pkg:rpm/suse/s390-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2021:0776-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.1.0-18.29.1"],"introduced":["0"],"last_affected":[],"package":"s390-tools","purl":"pkg:rpm/suse/s390-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2021:0776-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.30.0-1.1"],"introduced":["0"],"last_affected":[],"package":"s390-tools","purl":"pkg:rpm/opensuse/s390-tools\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13514-1"}],"prev":{"headline":"salt-api unauthenticated remote code execution","id":"CVE-2021-25315"},"products":["SUSE Linux Enterprise Server 12-SP5","SUSE Linux Enterprise Server 15-SP2"],"published":"2021-04-14","related":[],"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"Local attackers can prevent VM live migrations by exploiting insecure temporary files in the detach_disks.sh script within s390-tools.","url":"https://insights.sbomify.com/CVE-2021-25316/"}