CVE-2021-20233

grub2: Heap out-of-bounds write due to miscalculation of space required for quoting

Published Mar 3, 2021 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4867-1 grub2 security update
EUVD EUVD EUVD-2021-7672 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.
Ubuntu USN Ubuntu USN USN-4992-1 GRUB 2 vulnerabilities
History

No history.