CVE-2021-20225
Reported by redhat · Published March 3, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| grub2-common | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-tools-minimal | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-efi-aa64-ec2 | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-efi-x64 | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-efi-x64-ec2 | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-tools-efi | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-pc-modules | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub | Arch Linux | 2:2.06-1 |
| grub2-pc | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-tools-extra | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-tools | Amazon Linux | 1:2.06-2.amzn2.0.1 |
| grub2-efi-aa64-modules | Amazon Linux | 1:2.06-2.amzn2.0.1 |
4 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | grub2 | grub 2.06 |
| n/a | grub2 | 2.06 |
Timeline
- Mar 2, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 7, 2026 Distribution Patch
- Mar 7, 2026 Security Advisory (5 in total, the first dated here)
- Aug 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-20225
vulnetix vdb fixes CVE-2021-20225
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20225/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- FEDORA-2021-cab258a413 vendor-advisoryx_refsource_FEDORA
- GLSA-202104-05 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM