cbcvebase.
CVE-2021-20233
published 2021-03-03

CVE-2021-20233: 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…

high8.2CVSS 3.1
AVLACLPRHUINSCCHIHAH
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

27 ranges· showing 25
VendorProductVersion rangeFixed in
debiangrub2< grub2 2.04-16 (bookworm)grub2 2.04-16 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
gnugrub2< 2.062.06
gnugrub2
gnugrub2>= 0 < 2.04-162.04-16
gnugrub2>= 0 < 2.04-162.04-16
gnugrub2>= 0 < 2.04-162.04-16
gnugrub2>= 0 < 2.04-162.04-16
msrcazl3_grub2_2.06-26_on_azure_linux_3.0
msrccbl2_grub2_2.06rc1-7_on_cbl_mariner_2.0
redhatenterprise_linux
redhatenterprise_linux
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_eus
redhatenterprise_linux_server_eus
redhatenterprise_linux_server_eus
redhatenterprise_linux_server_tus
redhatenterprise_linux_server_tus
redhatenterprise_linux_server_tus

CVSS provenance

nvdv3.18.2HIGHCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
osv8.2HIGH