IM
IronMonkey Threat Research

CVE-2021-20233 HIGH

Published: 2021-03-03 | Last Modified: 2024-11-21 | Status: Modified

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.

Additional Descriptions (1)

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

CVSS Metrics

Base Score: 8.2 (HIGH)

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredHIGH
User InteractionNONE
ScopeCHANGED
Confidentiality ImpactHIGH
Integrity ImpactHIGH
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.5

Impact Score: 6.0

Base Score: 7.2 (HIGH)

AV:L/AC:L/Au:N/C:C/I:C/A:C

Access VectorLOCAL
Access ComplexityLOW
AuthenticationNONE
Confidentiality ImpactCOMPLETE
Integrity ImpactCOMPLETE
Availability ImpactCOMPLETE

Source: [email protected]

Type: Primary

Exploitability Score: 3.9

Impact Score: 10.0

Weaknesses

Source Type Description
[email protected] Secondary
en CWE-787
[email protected] Primary
en CWE-787

Affected Products

Vendor Product Version Update Type
gnu grub2 * <built-in method update of dict object at 0x72a963c6be40> Application
redhat enterprise_linux 7.0 <built-in method update of dict object at 0x72a9cd08cc00> Operating System
redhat enterprise_linux 8.0 <built-in method update of dict object at 0x72a9cd08dbc0> Operating System
redhat enterprise_linux_server_aus 7.2 <built-in method update of dict object at 0x72a963c69f80> Operating System
redhat enterprise_linux_server_aus 7.3 <built-in method update of dict object at 0x72a963c68c40> Operating System
redhat enterprise_linux_server_aus 7.4 <built-in method update of dict object at 0x72a963c6b540> Operating System
redhat enterprise_linux_server_aus 7.6 <built-in method update of dict object at 0x72a9cd08f040> Operating System
redhat enterprise_linux_server_aus 7.7 <built-in method update of dict object at 0x72a9cd08c880> Operating System
redhat enterprise_linux_server_aus 8.2 <built-in method update of dict object at 0x72a961eca580> Operating System
redhat enterprise_linux_server_eus 7.6 <built-in method update of dict object at 0x72a963c6bb00> Operating System
redhat enterprise_linux_server_eus 7.7 <built-in method update of dict object at 0x72a961ecac00> Operating System
redhat enterprise_linux_server_eus 8.1 <built-in method update of dict object at 0x72a9cd08f280> Operating System
redhat enterprise_linux_server_tus 7.4 <built-in method update of dict object at 0x72a961ecb240> Operating System
redhat enterprise_linux_server_tus 7.6 <built-in method update of dict object at 0x72a963c68500> Operating System
redhat enterprise_linux_server_tus 7.7 <built-in method update of dict object at 0x72a9cd08d4c0> Operating System
redhat enterprise_linux_server_tus 8.2 <built-in method update of dict object at 0x72a961ecb0c0> Operating System
redhat enterprise_linux_workstation 7.0 <built-in method update of dict object at 0x72a9cd08e180> Operating System
fedoraproject fedora 33 <built-in method update of dict object at 0x72a9cd08d700> Operating System
fedoraproject fedora 34 <built-in method update of dict object at 0x72a961ec9c00> Operating System
netapp ontap_select_deploy_administration_utility - <built-in method update of dict object at 0x72a999778840> Application

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_eus:7.7:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_eus:8.1:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:*
Yes cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
Yes cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
Notification
Message here