8.2high
A flaw was found in grub2 in versions prior to 2.06.
- Severity
- 8.2high CVSS:3.1 by NVD
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| grub2 | grub 2.06 | CVE List |
| gnu grub2 | before 2.06 | NVD |
| redhat enterprise_linux | 7.0, 8.0 | NVD |
| redhat enterprise_linux_server_aus | 7.2, 7.3, 7.4, 7.6, 7.7, 8.2 | NVD |
| redhat enterprise_linux_server_eus | 7.6, 7.7, 8.1 | NVD |
| redhat enterprise_linux_server_tus | 7.4, 7.6, 7.7, 8.2 | NVD |
| redhat enterprise_linux_workstation | 7.0 | NVD |
| fedoraproject fedora | 33, 34 | NVD |
| netapp ontap_select_deploy_administration_utility | Not specified | NVD |
All scores
| NVD | 8.2high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.2high CVSS:2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró un fallo en grub2 en versiones anteriores a 2.06. La función Setparam_prefix() en el código de renderización del menú lleva a cabo un cálculo de longitud asumiendo que expresar una comilla simple entre comillas requerirá 3 caracteres, mientras que actualmente requiere 4 caracteres, lo que permite a un atacante corromper la memoria por un byte para cada comilla en la entrada. La mayor amenaza de esta vulnerabilidad es la confidencialidad e integridad de los datos, así como la disponibilidad del sistema
References
| https://bugzilla.redhat.com/show_bug.cgi?id=1926263 | issue-tracking, patch, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZWZ36QK4IKU6MWDWNOOWKPH3WXZBHT2R/ | vendor-advisory | |
| https://security.gentoo.org/glsa/202104-05 | third-party-advisory, vendor-advisory | |
| https://security.netapp.com/advisory/ntap-20220325-0001/ | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20233 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-20233 changed 2026-06-17 | Public domain |