CVEvulnerability

CVE-2021-20233

8.2 HIGH Published 2021-03-03 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-03-03
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.2 HIGH — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-787

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 configurations

• gnu grub2 (< 2.06) • redhat enterprise linux 7.0 • redhat enterprise linux 8.0 • redhat enterprise linux server aus 7.2 • redhat enterprise linux server aus 7.3 • redhat enterprise linux server aus 7.4 • redhat enterprise linux server aus 7.6 • redhat enterprise linux server aus 7.7 • redhat enterprise linux server aus 8.2 • redhat enterprise linux server eus 7.6 • redhat enterprise linux server eus 7.7 • redhat enterprise linux server eus 8.1 • redhat enterprise linux server tus 7.4 • redhat enterprise linux server tus 7.6 • redhat enterprise linux server tus 7.7 • redhat enterprise linux server tus 8.2 • redhat enterprise linux workstation 7.0 • fedoraproject fedora 33 • fedoraproject fedora 34 • netapp ontap select deploy administration utility

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References