Buffer overflow in Gnu Grub2

CVE-2020-27749

A flaw was found in grub2 in versions prior to 2.06. Variable names present are expanded in the supplied command line into their corresponding variable contents, using a 1kB stack buffer for temporary storage, without sufficient bounds checking. If the function is called with a command line that references a variable with a sufficiently large payload, it is possible to overflow the stack buffer, corrupt the stack frame and control execution which could also circumvent Secure Boot protections. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Vulnerability class: Buffer Overflow

EPSS: 0.006 (43.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-27749?
CVE-2020-27749 is a medium-severity vulnerability in Gnu Grub2, classified under Stack-based Buffer Overflow. CVSS score: 6.7/10. Published 2021-03-03.
How severe is CVE-2020-27749?
Medium severity. CVSS v3 base score is 6.7 out of 10.
Is CVE-2020-27749 known to be exploited?
25 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.