# CVE-2021-46705: grub2-once uses fixed file name in /var/tmp

- Severity: Medium 5.1 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- 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.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-16T09:50:10.172Z
- Modified: 2026-06-17T04:15:24.463Z
- Weaknesses: CWE-377
- Assigned by: suse

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

(As written by CVE List.)

## Affected

- SUSE SUSE Linux Enterprise Server 15 SP4: from grub2 before 2.06-150400.7.1
- SUSE openSUSE Factory: from grub2 before 2.06-18.1
- gnu grub2: before 2.06-150400.7.1; before 2.06-18.1

## Every score

- suse: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:P/A:N`

## References

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

## Sources

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

---

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