# CVE-2021-25314: hawk: Insecure file permissions

- Severity: High 7.8 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-14T15:00:17.561Z
- Modified: 2026-06-17T03:41:48.720Z
- Weaknesses: CWE-378, CWE-668
- Assigned by: suse

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

(As written by CVE List.)

## Affected

- SUSE SUSE Linux Enterprise High Availability 12-SP3: from hawk2 before 2.6.3+git.1614685906.812c31e9
- SUSE SUSE Linux Enterprise High Availability 12-SP5: from hawk2 before 2.6.3+git.1614685906.812c31e9
- SUSE SUSE Linux Enterprise High Availability 15-SP2: from hawk2 before 2.6.3+git.1614684118.af555ad9
- suse hawk2: before 2.6.3\+git.1614685906.812c31e9-2.42.1; before 2.6.3\+git.1614684118.af555ad9; before 2.6.3\+git.1614685906.812c31e9

## Every score

- suse: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1182166> (exploit, issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2021-25314](https://www.cve.org/CVERecord?id=CVE-2021-25314), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2021-25314](https://nvd.nist.gov/vuln/detail/CVE-2021-25314), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25314 · Whole record: https://cve.day/CVE-2021-25314.json · Rebuilt by cve.day 2026-11-25T22:58:00.809Z
