CVE-2021-25314 hawk: Insecure file permissions

High 7.8 Published Updated

Local attackers can escalate privileges to root due to insecure permissions on temporary files in hawk2.

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-25314?

CVE-2021-25314 is a high-severity vulnerability in SUSE Linux Enterprise High Availability 12-SP3, 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 Creation of Temporary File With Insecure Permissions vulnerability in hawk2 of SUSE Linux Enterprise High Availability 12-SP3, SUSE Linux Enterprise High Availability 12-SP5, SUSE Linux Enterprise High Availability 15-SP2 allows local attackers to escalate to root. This issue affects: SUSE Linux Enterprise High Availability 12-SP3 hawk2 versions prior to 2.6.3+git.1614685906.812c31e9. SUSE Linux Enterprise High Availability 12-SP5 hawk2 versions prior to 2.6.3+git.1614685906.812c31e9. SUSE Linux Enterprise High Availability 15-SP2 hawk2 versions prior to 2.6.3+git.1614684118.af555ad9.

Weakness: CWE-668, CWE-378

Which versions are affected by CVE-2021-25314?

It affects 1 product.

Products include Suse Hawk2.

How do I fix CVE-2021-25314?

Apply the vendor's patch.

Is CVE-2021-25314 being exploited?

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

Sources

Also known as GHSA-4f3q-6cq7-8w4p.

Is CVE-2021-25314 in your software?

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

Check your SBOMs for free