VULNERABILITY INTELLIGENCE

CVE-2021-20233

CVSS score8.2 HIGH
EPSS probability0.60%
CISA KEVNot currently listed
Published2021-03-03
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

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.

Weakness classification

  • secalert@redhat.com: CWE-787
  • nvd@nist.gov: CWE-787

Primary references