CVE-2020-27749: fedoraproject fedora Stack-based Buffer Overflow
Vulnerability summary
CVE-2020-27749 is a high (CVSS 7.2) Stack-based Buffer Overflow vulnerability in fedoraproject fedora. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 46.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 25 · Related 10Timeline
- 03-03-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- NVDNIST6.7MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.57%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
0.00 pp
From 0.57% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Redhat5 products
- enterprise_linuxEOL7.0 | 8.0
- enterprise_linux_server_aus7.2 | 7.3 | 7.4 | 7.6 | 7.7 | 8.2
- enterprise_linux_server_eus7.6 | 7.7 | 8.1
- enterprise_linux_server_tus7.4 | 7.6 | 7.7 | 8.2
- enterprise_linux_workstation7.0
Ubuntu2 products
- grub2-signedAll versions (No fix recorded) | < 1.167~18.04.5 | < 1.167.2
- grub2-unsigned< 2.04-1ubuntu44.1.2 | < 2.04-1ubuntu44.2
Alpine1 product
- grub< 2.06-r0
Debian1 product
- grub2< 2.04-16
Fedoraproject1 product
- fedoraEOL33 | 34
Gnu1 product
- grub2< 2.06
Netapp1 product
7 vendors · 12 products