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/crm_script.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).

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 crm_script.rb file, which could be exploited as a root privilege escalation vector since crm has powerful system capabilities (SUSE Bugzilla).

Exploitability

The vulnerability requires local access to the system and can be exploited by any user who can access the affected temporary files. The exploit complexity is considered low, as it primarily involves accessing and modifying files with overly permissive settings (SUSE Bugzilla).

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-2026-47187CRITICAL9.3
  • Linux Debian logoLinux Debian
  • sshfs
NoYesAug 19, 2026
CVE-2026-62292HIGH8.7
  • Linux Debian logoLinux Debian
  • libheif
NoYesAug 18, 2026
CVE-2026-43961HIGH7.8
  • Vim logoVim
  • vim-default-editor
NoYesAug 19, 2026
CVE-2026-48711HIGH7
  • Linux Debian logoLinux Debian
  • sshfs
NoYesAug 19, 2026
CVE-2026-62377MEDIUM4.3
  • Linux Debian logoLinux Debian
  • libheif
NoYesAug 18, 2026

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