# CVE-2021-20233

- Priority: **Routine**
- Reason: Not severe (CVSS 8.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-03-03 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-20233, UBUNTU-CVE-2021-20233, DEBIAN-CVE-2021-20233
- Record: https://cvemate.com/vulnerability/CVE-2021-20233 · JSON: https://cvemate.com/vulnerability/CVE-2021-20233/json

## Description

```text
A flaw was found in grub2 in versions prior to 2.06. Setparam_prefix() in the menu rendering code performs a length calculation on the assumption that expressing a quoted single quote will require 3 characters, while it actually requires 4 characters which allows an attacker to corrupt memory by one byte for each quote in the input. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
```

## Signals

- CVSS: 8.2 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.613%, percentile 50.802%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine grub (Alpine Linux): \< 2.06-r0
- debian grub2 (Debian): \< 2.04-16
- ubuntu grub2-signed (Ubuntu): All versions (No fix recorded) \| \< 1.167~18.04.5 \| \< 1.167.2
- ubuntu grub2-unsigned (Ubuntu): \< 2.04-1ubuntu44.1.2 \| \< 2.04-1ubuntu44.2
- fedoraproject fedora: 33 \| 34
- gnu grub2: \< 2.06
- netapp ontap\_select\_deploy\_administration\_utility: na
- redhat enterprise\_linux: 7.0 \| 8.0
- redhat enterprise\_linux\_server\_aus: 7.2 \| 7.3 \| 7.4 \| 7.6 \| 7.7 \| 8.2
- redhat enterprise\_linux\_server\_eus: 7.6 \| 7.7 \| 8.1
- redhat enterprise\_linux\_server\_tus: 7.4 \| 7.6 \| 7.7 \| 8.2
- redhat enterprise\_linux\_workstation: 7.0

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1926263>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZWZ36QK4IKU6MWDWNOOWKPH3WXZBHT2R/>
- <https://security.gentoo.org/glsa/202104-05>
- <https://security.netapp.com/advisory/ntap-20220325-0001/>
- <https://security.alpinelinux.org/vuln/CVE-2021-20233>
- <https://ubuntu.com/security/CVE-2021-20233>
- <https://ubuntu.com/security/notices/USN-4992-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-20233>
- <https://security-tracker.debian.org/tracker/CVE-2021-20233>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20233>

---

Data as of 2026-12-05T03:09:16.987Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
