CVE-2021-46705
CVE-2021-46705 is a medium-severity vulnerability in Gnu Grub2 with a CVSS 3.x base score of 5.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-377.
Key facts
- Severity: Medium (CVSS 3.x base score 5.1)
- CVSS v2: 2.1
- EPSS exploit prediction: 0% (14th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-377
- Affected product: Gnu Grub2
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-46705?
- 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.
- How severe is CVE-2021-46705?
- CVE-2021-46705 has a CVSS 3.x base score of 5.1, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability low.
- Is CVE-2021-46705 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (14th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-46705?
- CVE-2021-46705 affects Gnu Grub2. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-46705?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-46705 published?
- CVE-2021-46705 was published on 2022-03-16 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:*
More vulnerabilities in Gnu Grub2
- CVE-2024-56737 — High (CVSS 8.8): GNU GRUB (aka GRUB2) through 2.12 has a heap-based buffer overflow in fs/hfs.c via crafted sblock data in an HFS…
- CVE-2022-2601 — High (CVSS 8.6): A buffer overflow was found in grub_font_construct_glyph(). A malicious crafted pf2 font can lead to an overflow when…
- CVE-2021-20233 — High (CVSS 8.2): A flaw was found in grub2 in versions prior to 2.06. Setparam_prefix() in the menu rendering code performs a length…
- CVE-2020-25632 — High (CVSS 8.2): A flaw was found in grub2 in versions prior to 2.06. The rmmod implementation allows the unloading of a module used as…
- CVE-2020-10713 — High (CVSS 8.2): A flaw was found in grub2, prior to version 2.06. An attacker may use the GRUB 2 flaw to hijack and tamper the GRUB…
- CVE-2022-28734 — High (CVSS 8.1): Out-of-bounds write when handling split HTTP headers; When handling split HTTP headers, GRUB2 HTTP code accidentally…
All CVEs affecting Gnu Grub2 →
Other CWE-377 (Insecure Temporary File) vulnerabilities
- CVE-2011-4119 — Critical (CVSS 9.8): caml-light <= 0.75 uses mktemp() insecurely, and also does unsafe things in /tmp during make install.
- CVE-2012-2666 — Critical (CVSS 9.8): golang/go in 1.0.2 fixes all.bash on shared machines. dotest() in src/pkg/debug/gosym/pclntab_test.go creates a…
- CVE-2015-5224 — Critical (CVSS 9.8): The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name…
- CVE-2025-14307 — High (CVSS 8.1): An insecure temporary file creation vulnerability exists in the AutoExtract component of Robocode version 1.9.3.6. The…
- CVE-2023-43498 — High (CVSS 8.1): In Jenkins 2.423 and earlier, LTS 2.414.1 and earlier, processing file uploads using MultipartFormDataParser creates…
- CVE-2025-46369 — High (CVSS 7.8): Dell Alienware Command Center 6.x (AWCC), versions prior to 6.10.15.0, contains an Insecure Temporary File…
Browse all CWE-377 (Insecure Temporary File) vulnerabilities →