HOMEVULNERABILITIESCVE-2021-20225
MEDIUM

CVE-2021-20225

CWE-787Published: March 3, 2021· Updated: Jun 17, 2026

6.7
CVSS v3.1

Official Description

A flaw was found in grub2 in versions prior to 2.06. The option parser allows an attacker to write past the end of a heap-allocated buffer by calling certain commands with a large number of specific short forms of options. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

NVD Source

Technical Analysis

CVE-2021-20225 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires high privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 6.7.

From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.High
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

Fedora1 product(s)
fedora
gnu1 product(s)
grub2
netapp1 product(s)
ontap select deploy administration utility
Red Hat5 product(s)
enterprise linuxenterprise linux server ausenterprise linux server eusenterprise linux server tusenterprise linux workstation
Source: NVD CPE · 20 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (8)

Quick Facts

CVE IDCVE-2021-20225
CVSS Score6.7 / 10
SeverityMEDIUM
WeaknessCWE-787
CISA KEVNo
Affected4 vendor(s)
PublishedMar 3, 2021

Related CVEs (CWE-787)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-20225 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.