CVE Database›Document archive›CVE-2021-3408

CVE-2021-3408

grub2: heap out-of-bound write due to mis-calculation of space required for quoting

Loading…

Severity

Unknown

Red Hat Product Security

0

CVSS 3.1

Review impact separately from score.

Published · March 3, 2021

Updated · November 21, 2025

Description

[REJECTED CVE] The grub2 menu rendering code miscalculate the memory amount to hold single-quoted strings. This lead to a out-of-bounds write in grub2's heap by one byte per quote in the input. This results to a 'write-what-where' scenario which an attacker may leverage to compromise heap integrity and possibly code execution, leading to Secure Boot circumvention. To an attack being successful deployed, the attacker needs to have high privileges into the targeted system and also triage the heap layout to successfully deploy a crafted payload.

Statement

This flaw was found to be a duplicate of CVE-2021-20233. Please see https://access.redhat.com/security/cve/CVE-2021-20233 for information about affected products and security errata.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 0
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:N/A:N

CWE-787 · Out-of-bounds Write