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

Status: PUBLISHED

Assigner: redhat

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

Updated: 2024-08-03T17:37:22.631Z

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

Link: CVE-2021-20233

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

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

Link: CVE-2021-20233

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-03-02T18:00:00Z

Links: CVE-2021-20233 - Bugzilla