VDB

ALPINE-CVE-2021-3697

ALPINE-CVE-2021-3697 PUBLISHED CVSS 7 HIGH

Record from OSV · Published July 6, 2022

A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.

Fixed versions

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

PackageEcosystemFixed in
grubAlpine:v3.212.06-r13
grubAlpine:v3.242.06-r13
grubAlpine:v3.182.06-r12
grubAlpine:v3.232.06-r13
grubAlpine:v3.222.06-r13
grubAlpine:v3.152.06-r3
grubAlpine:v3.162.06-r3
grubAlpine:v3.192.06-r13
grubAlpine:v3.202.06-r13
grubAlpine:v3.172.06-r8

Risk scores

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

Affected products

VendorProductVersions
Alpine:v3.21grub2.02_beta3-r7, 2.02-r13, 2.02-r11
Alpine:v3.24grub0
Alpine:v3.18grub2.06-r8, 2.06-r7, 2.06-r6
Alpine:v3.23grub2.06-r10, 0, 2.02-r0
Alpine:v3.22grub2.06-r5, 2.02-r12, 2.02-r14
Alpine:v3.15grub2.02-r8, 2.02-r0, 2.02-r10
Alpine:v3.16grub2.02-r9, 2.02_beta3-r0, 2.02_beta3-r1
Alpine:v3.19grub2.02_beta3-r1, 2.02_beta3-r0, 2.06-r8
Alpine:v3.20grub2.06-r10, 2.06-r0, 2.04-r3
Alpine:v3.17grub2.02-r2, 2.02_beta3-r2, 2.02_beta3-r7

Timeline

  • Jul 6, 2022 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-3697
vulnetix vdb fixes ALPINE-CVE-2021-3697

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-3697/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 ›