VDB

CVE-2020-15707

CVE-2020-15707 PUBLISHED CVSS 5.7 MEDIUM

Reported by canonical · Published July 29, 2020

Integer overflows were discovered in the functions grub_cmd_initrd and grub_initrd_init in the efilinux component of GRUB2, as shipped in Debian, Red Hat, and Ubuntu (the functionality is not included in GRUB2 upstream), leading to a heap-based buffer overflow. These could be triggered by an extremely large number of arguments to the initrd command on 32-bit architectures, or a crafted filesystem with very large files on any architecture. An attacker could use this to execute arbitrary code and bypass UEFI Secure Boot restrictions. This issue affects GRUB2 version 2.04 and prior versions.

Fixed versions

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

PackageEcosystemFixed in
grubAlpine2.06-r0
grub2Ubuntu:Pro:14.04:LTS2.02~beta2-9ubuntu1.20
grub2gnu2.04
grub2-signedUbuntu:20.04:LTS1.142.3
grub2Ubuntu:18.04:LTS2.02-2ubuntu8.16
grub2 in UbuntuUbuntu2.04-1ubuntu26.1, 2.02~beta2-9ubuntu1.20, 2.02~beta2-36ubuntu3.26, 2.02-2ubuntu8.16
grub2-signedUbuntu:16.04:LTS1.66.26
grub2-signedUbuntu:Pro:14.04:LTS1.34.22
grub2Ubuntu:20.04:LTS2.04-1ubuntu26.1
grub2-signedUbuntu:18.04:LTS1.93.18
grub2Ubuntu:16.04:LTS2.02~beta2-36ubuntu3.26

Risk scores

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

Affected products

VendorProductVersions
Ubuntugrub2 in Ubuntu20.04 LTS, 18.04 LTS, 16.04 LTS
Ubuntugrub2 in Ubuntu20.04, 18.04, 16.04
alpinegrub0

Timeline

  • Jul 29, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (14 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (24 in total, the first dated here)
  • Sep 4, 2026 Coalition ESS Score
  • Sep 20, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-15707
vulnetix vdb fixes CVE-2020-15707

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/CVE-2020-15707/fixes/registry"

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

References

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