CVE-2021-46705

grub2-once uses fixed file name in /var/tmp

MEDIUM
4.4
CVSS Score
Published: March 16, 2022 at 09:50 AM UTC
Updated: June 17, 2026 at 04:15 AM UTC
3 products affected across 2 vendorsGRUB2Linux Enterprise ServeropenSUSE Factory· also runs on 1 platform

Using SUSE Linux Enterprise Server 15 SP4 by SUSE?

Get instant alerts when new vulnerabilities affect SUSE Linux Enterprise Server 15 SP4 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.4
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.06-150400.7.1v < 2.06-18.1
Affected range stops below 2.06-150400.7.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.06-18.1, so it looks safe — our inference, not a vendor statement
opensuse-factory (environment) · suse-linux-enterprise-server (environment)
grub2 ≤ v < 2.06-150400.7.1grub2
Affected range stops below 2.06-150400.7.1, so it looks safe — our inference, not a vendor statement
grub2 ≤ v < 2.06-18.1grub2
Affected range stops below 2.06-18.1, so it looks safe — our inference, not a vendor statement

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMExploitIssue TrackingVendor Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1190474

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-377

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card