What’s Vulnerable › Vulnerabilities
CVE-2021-46705: grub2-once uses fixed file name in /var/tmp
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-03-16 · updated 2026-06-17
- Weakness: CWE-377
Description
A Insecure Temporary File vulnerability in grub-once of grub2 in SUSE Linux Enterprise Server 15 SP4, openSUSE Factory allows local attackers to truncate arbitrary files. This issue affects: SUSE Linux Enterprise Server 15 SP4 grub2 versions prior to 2.06-150400.7.1. SUSE openSUSE Factory grub2 versions prior to 2.06-18.1.
Affected products
- grub2: before 2.06-150400.7.1; before 2.06-18.1 — fixed in 2.06-150400.7.1, 2.06-18.1
How to fix
Upgrade to a fixed version: grub2 2.06-150400.7.1, 2.06-18.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2021-46705 or the next vulnerability affects your stack