VDB

ALPINE-CVE-2021-20233

ALPINE-CVE-2021-20233 PUBLISHED CVSS 8.199999809265137 HIGH

Record from OSV · Published March 3, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
grubAlpine:v3.232.06-r0
grubAlpine:v3.222.06-r0
grubAlpine:v3.172.06-r0
grubAlpine:v3.202.06-r0
grubAlpine:v3.212.06-r0
grubAlpine:v3.192.06-r0
grubAlpine:v3.182.06-r0
grubAlpine:v3.242.06-r0

Risk scores

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

Affected products

VendorProductVersions
Alpine:v3.23grub2.02-r8, 2.02_beta3-r6, 2.04-r3
Alpine:v3.22grub2.02_beta3-r3, 0, 2.02-r1
Alpine:v3.17grub2.02-r0, 2.02_beta3-r5, 2.02_beta3-r2
Alpine:v3.20grub2.02-r16, 2.02-r1, 2.02-r10
Alpine:v3.21grub2.02-r18, 0, 2.02-r10
Alpine:v3.19grub2.04-r1, 0, 2.02-r0
Alpine:v3.18grub2.02-r18, 0, 2.02-r11
Alpine:v3.24grub0

Timeline

  • Mar 3, 2021 CVE Published
  • Jun 15, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2021-20233
vulnetix vdb fixes ALPINE-CVE-2021-20233

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2021-20233/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›