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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: redhat

Published: 2021-03-03T16:44:34

Updated: 2022-03-25T07:06:31

Reserved: 2020-12-17T00:00:00


Link: CVE-2021-20233

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2021-03-03T17:15:12.037

Modified: 2023-11-07T03:29:01.363


Link: CVE-2021-20233

JSON object: View

cve-icon Redhat Information

No data.

CWE