CVE-2021-25314
Linux openSUSE vulnerability analysis and mitigation

Overview

A Creation of Temporary File With Insecure Permissions vulnerability was discovered in hawk2 component of SUSE Linux Enterprise High Availability. The vulnerability, tracked as CVE-2021-25314, was found in three different locations where files were set to unsafe permissions (0666), allowing arbitrary local users to potentially modify critical system configurations (SUSE Bugzilla).

Technical details

The vulnerability exists in three different files within the hawk2 component: hawk/app/models/report.rb, hawk/app/lib/invoker.rb, and hawk/app/lib/crmscript.rb. In each location, file permissions were set to 0666, making them world-readable and writable. The most severe instance allows arbitrary local users to change the CIB (Cluster Information Base), which could be combined with other issues to inject shell metacharacters ([SUSE Bugzilla](https://bugzilla.suse.com/showbug.cgi?id=1182166)).

Impact

The vulnerability could allow local attackers to modify critical system configurations and potentially escalate privileges to root. The most severe impact is through the crmscript.rb file, which could be exploited as a root privilege escalation vector since crm has powerful system capabilities ([SUSE Bugzilla](https://bugzilla.suse.com/showbug.cgi?id=1182166)).

Mitigation and workarounds

The issue was fixed in hawk2 version 2.6.3. SUSE released security updates SUSE-SU-2021:0941-1, SUSE-SU-2021:0942-1, and SUSE-SU-2021:0943-1 to address this vulnerability across different versions of SUSE Linux Enterprise High Availability (SUSE Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux openSUSE vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13470HIGH7.7
  • Linux DebianLinux Debian
  • librnp-devel
NoYesNov 21, 2025
CVE-2025-61915MEDIUM6
  • OpenPrinting CUPSOpenPrinting CUPS
  • cups
NoYesNov 29, 2025
CVE-2025-58436MEDIUM5.1
  • OpenPrinting CUPSOpenPrinting CUPS
  • libcups2
NoYesNov 29, 2025
CVE-2025-9820N/AN/A
  • GnuTLSGnuTLS
  • gnutls-c++
NoYesNov 21, 2025
CVE-2025-13402N/AN/A
  • Linux FedoraLinux Fedora
  • librnp-debuginfo
NoYesNov 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management