CVE-2021-25314
hawk: Insecure file permissions
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
hawk: Insecure file permissions
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.
- Record
CVE-2021-25314- 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 - Weakness
- CWE-378
- Updated
- 2026-11-02
EUVDEUVD-2021-12213
7.8
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.
- Record
EUVD-2021-12213- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4f3q-6cq7-8w4p
7.8
A Creation of Temporary File With Insecure Permissions vulnerability in hawk2 of SUSE Linux...
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.
- Record
GHSA-4f3q-6cq7-8w4p- 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 - Weakness
- CWE-378, CWE-668
- Updated
- 2026-11-02
NVD
7.8
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.
- Record
CVE-2021-25314- 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 - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-378, CWE-668
- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0473-1 No score
Security update for hawk2
This update for hawk2 fixes the following issues:
- Update to version 2.6.3:
- Remove hawk_invoke and use capture3 instead of runas (bsc#1179999)(CVE-2020-35459)
- Remove unnecessary chmod (bsc#1182166)(CVE-2021-25314)
- Sanitize filename to contains whitelist of alphanumeric (bsc#1182165)
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2021:0473-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12952-1 No score
hawk2-2.6.4+git.1682509819.1ff135ea-1.1 on GA media
These are all security issues fixed in the hawk2-2.6.4+git.1682509819.1ff135ea-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12952-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:0941-1 No score
Security update for hawk2
This update for hawk2 fixes the following issues:
- Update to version 2.6.3:
- Remove hawk_invoke and use capture3 instead of runas (bsc#1179999)(CVE-2020-35459)
- Remove unnecessary chmod (bsc#1182166)(CVE-2021-25314)
- Sanitize filename to contains whitelist of alphanumeric (bsc#1182165)
- Record
SUSE-SU-2021:0941-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:0942-1 No score
Security update for hawk2
This update for hawk2 fixes the following issues:
- Update to version 2.6.3:
- Remove hawk_invoke and use capture3 instead of runas (bsc#1179999)(CVE-2020-35459)
- Remove unnecessary chmod (bsc#1182166)(CVE-2021-25314)
- Sanitize filename to contains whitelist of alphanumeric (bsc#1182165)
- Record
SUSE-SU-2021:0942-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:0943-1 No score
Security update for hawk2
This update for hawk2 fixes the following issues:
- Update to version 2.6.3:
- Remove hawk_invoke and use capture3 instead of runas (bsc#1179999)(CVE-2020-35459)
- Remove unnecessary chmod (bsc#1182166)(CVE-2021-25314)
- Sanitize filename to contains whitelist of alphanumeric (bsc#1182165)
- Record
SUSE-SU-2021:0943-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
hawk2SUSE:Linux Enterprise High Availability Extension 15 From an advisory covering 2 CVEs |
before 2.6.3+git.1614684118.af555ad9-3.27.1 | 2.6.3+git.1614684118.af555ad9-3.27.1 |
hawk2SUSE:Linux Enterprise High Availability Extension 15 SP1 From an advisory covering 2 CVEs |
before 2.6.3+git.1614684118.af555ad9-3.27.1 | 2.6.3+git.1614684118.af555ad9-3.27.1 |
hawk2SUSE:Linux Enterprise High Availability Extension 15 SP2 From an advisory covering 2 CVEs |
before 2.6.3+git.1614684118.af555ad9-3.27.1 | 2.6.3+git.1614684118.af555ad9-3.27.1 |
hawk2SUSE:Linux Enterprise High Availability Extension 12 SP4 From an advisory covering 2 CVEs |
before 2.6.3+git.1614685906.812c31e9-3.30.1 | 2.6.3+git.1614685906.812c31e9-3.30.1 |
hawk2SUSE:Linux Enterprise High Availability Extension 12 SP5 From an advisory covering 2 CVEs |
before 2.6.3+git.1614685906.812c31e9-3.30.1 | 2.6.3+git.1614685906.812c31e9-3.30.1 |
hawk2SUSE:Linux Enterprise High Availability Extension 12 SP3 From an advisory covering 2 CVEs |
before 2.6.3+git.1614685906.812c31e9-2.42.1 | 2.6.3+git.1614685906.812c31e9-2.42.1 |
hawk2openSUSE:Leap 15.2 From an advisory covering 2 CVEs |
before 2.6.3+git.1614684118.af555ad9-lp152.2.18.1 | 2.6.3+git.1614684118.af555ad9-lp152.2.18.1 |
hawk2openSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 2.6.4+git.1682509819.1ff135ea-1.1 | 2.6.4+git.1682509819.1ff135ea-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-25314 is a high vulnerability (CVSS 7.8) in Suse Hawk2, published March 24, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.38%, the 32nd percentile. No source names a fixed version.
References
bugzilla.suse.com/show_bug.cgi?id=1182166
nvd.nist.gov/vuln/detail/CVE-2021-25314
github.com/advisories/GHSA-4f3q-6cq7-8w4p
suse.com/support/update/announcement/2021/suse-su-20210941-1
bugzilla.suse.com/1179999
bugzilla.suse.com/1182165
Show 7 moreShow less
bugzilla.suse.com/1182166
suse.com/security/cve/CVE-2020-35459
suse.com/security/cve/CVE-2021-25314
suse.com/support/update/announcement/2021/suse-su-20210942-1
suse.com/support/update/announcement/2021/suse-su-20210943-1
lists.opensuse.org/archives/list/[email protected]/thread/P6Y6RW5YXKZSLM7CRGCZD5EXRQATEN6Q
suse.com/security/cve/CVE-2020-35458