CVE-2021-20233
JSON

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 packageVersionsReported by
grub2grub 2.06CVE List
gnu grub2before 2.06NVD
redhat enterprise_linux7.0, 8.0NVD
redhat enterprise_linux_server_aus7.2, 7.3, 7.4, 7.6, 7.7, 8.2NVD
redhat enterprise_linux_server_eus7.6, 7.7, 8.1NVD
redhat enterprise_linux_server_tus7.4, 7.6, 7.7, 8.2NVD
redhat enterprise_linux_workstation7.0NVD
fedoraproject fedora33, 34NVD
netapp ontap_select_deploy_administration_utilityNot specifiedNVD

All scores

NVD8.2high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD7.2high CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-20233 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-20233 changed 2026-06-17Public domain