CVE-2021-25316 Local DoS of VM live migration due to use of static tmp files in detach_disks.sh in s390-tools

Low 3.3 Published Updated

Local attackers can prevent VM live migrations by exploiting insecure temporary files in the detach_disks.sh script within s390-tools.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-25316?

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.

Official 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.

Weakness: CWE-377

Which versions are affected by CVE-2021-25316?

It affects 1 product.

Linux distribution packages (4)
s390-tools SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions2.11.0-9.20.1
s390-tools SUSE:Linux Enterprise Server 12 SP5All versions2.1.0-18.29.1
s390-tools SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2.1.0-18.29.1
s390-tools openSUSE:TumbleweedAll versions2.30.0-1.1

Products include Suse S390-Tools.

How do I fix CVE-2021-25316?

Apply the vendor's patch.

Is CVE-2021-25316 being exploited?

There is no known exploitation of CVE-2021-25316 in the wild and no public exploit code.

Sources

Also known as GHSA-xww5-ggv5-g549, SUSE-SU-2021:0776-1, SUSE-SU-2021:0777-1, openSUSE-SU-2024:13514-1.

Is CVE-2021-25316 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free