cve.bz

CVE-2020-15707 Year 2038 problem, Y2K38, Y2038, Epochalypse

6.4 mediumExploit referenceEPSS 1.6%Fix available

Medium (6.4). EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.4 medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15707 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15707?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15707?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15707 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Ubuntu grub2 in Ubuntufrom 20.04 LTS before 2.04-1ubuntu26.1
Ubuntu grub2 in Ubuntufrom 18.04 LTS before 2.02-2ubuntu8.16
Ubuntu grub2 in Ubuntufrom 16.04 LTS before 2.02~beta2-36ubuntu3.26
Ubuntu grub2 in Ubuntufrom 14.04 ESM before 2.02~beta2-9ubuntu1.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10grub22.02+dfsg1-20+deb10u1DSA-4735-1
Debian12, 13, 14grub22.04-9DEBIAN-CVE-2020-15707
Ubuntu16.04:LTSgrub22.02~beta2-36ubuntu3.26UBUNTU-CVE-2020-15707 USN-4432-1
Ubuntu16.04:LTSgrub2-signed1.66.26UBUNTU-CVE-2020-15707 USN-4432-1
Ubuntu16.04:LTSgrub2-unsignedno fix listedUBUNTU-CVE-2020-15707
Ubuntu18.04:LTSgrub22.02-2ubuntu8.16UBUNTU-CVE-2020-15707 USN-4432-1
Ubuntu18.04:LTSgrub2-signed1.93.18UBUNTU-CVE-2020-15707 USN-4432-1
Ubuntu20.04:LTSgrub22.04-1ubuntu26.1UBUNTU-CVE-2020-15707 USN-4432-1
Ubuntu20.04:LTSgrub2-signed1.142.3UBUNTU-CVE-2020-15707 USN-4432-1
UbuntuPro:14.04:LTSgrub22.02~beta2-9ubuntu1.20UBUNTU-CVE-2020-15707 USN-4432-1
UbuntuPro:14.04:LTSgrub2-signed1.34.22UBUNTU-CVE-2020-15707 USN-4432-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morefwupdate, fwupdate-efi, fwupdate-libs and 2 more0:12-6.el7_8RHSA-2020:3217
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moremokutil, shim-x64, shim-ia32 and 2 more0:15-7.el7_8RHSA-2020:3217
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreshim, shim-unsigned-x64, shim-unsigned-ia320:15-7.el7_9RHSA-2020:3217
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationgrub2, grub2-pc, grub2-tools and 15 more1:2.02-0.86.el7_8RHSA-2020:3217
Red Hatenterprise_linux:7::servergrub2, grub2-pc, grub2-ppc64 and 17 more1:2.02-0.86.el7_8RHSA-2020:3217
Red Hatenterprise_linux:8::baseosfwupd, fwupd-debuginfo, fwupd-debugsource0:1.1.4-7.el8_2RHSA-2020:3216
Red Hatenterprise_linux:8::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-87.el8_2RHSA-2020:3216
Red Hatenterprise_linux:8::baseosshim, shim-x64, shim-aa64 and 1 more0:15-14.el8_2RHSA-2020:3216
Red Hatenterprise_linux:8::crbshim-unsigned-x640:15-7.el8RHSA-2020:3216
Red Hatrhel_aus:7.3::server, rhel_e4s:7.3::server, rhel_tus:7.3::servermokutil, shim-signed, mokutil-debuginfo0:15-8.el7_3RHSA-2020:3276
Red Hatrhel_aus:7.3::server, rhel_e4s:7.3::server, rhel_tus:7.3::servershim, shim-unsigned-x64, shim-unsigned-ia320:15-8.el7RHSA-2020:3276
Red Hatrhel_aus:7.3::server, rhel_tus:7.3::servergrub2, grub2-pc, grub2-tools and 15 more1:2.02-0.86.el7RHSA-2020:3276
23 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 moregrub22.02-4.53.1SUSE-SU-2020:2079-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moregrub22.02-19.48.1SUSE-SU-2020:2073-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1grub22.02-26.25.1SUSE-SU-2020:2077-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2grub22.04-9.7.1SUSE-SU-2020:2074-1
SUSELinux Enterprise Server 11 SP4-LTSSgrub22.00-0.66.15.1SUSE-SU-2020:14440-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 moregrub22.02~beta2-115.49.1SUSE-SU-2020:2076-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moregrub22.02-12.31.1SUSE-SU-2020:2078-1
openSUSELeap 15.1grub22.02-lp151.21.21.4openSUSE-SU-2020:1168-1
openSUSELeap 15.2grub22.04-lp152.7.3.4openSUSE-SU-2020:1169-1
openSUSETumbleweedgrub22.06-7.1openSUSE-SU-2024:10824-1
Alpinev3.17, v3.18, v3.19 and 5 moregrub2.06-r0ALPINE-CVE-2020-15707

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

There's no mitigation available other than installing the update packages.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7fwupdate-0:12-6.el7_8Fixed 2020-07-29RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-1:2.02-0.86.el7_8Fixed 2020-07-29RHSA-2020:3217
Red Hat Enterprise Linux 7shim-0:15-7.el7_9Fixed 2020-07-29RHSA-2020:3217
Red Hat Enterprise Linux 7shim-signed-0:15-7.el7_8Fixed 2020-07-29RHSA-2020:3217
Red Hat Enterprise Linux 7.3 Advanced Update Supportgrub2-1:2.02-0.86.el7Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.3 Advanced Update Supportshim-0:15-8.el7Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.3 Advanced Update Supportshim-signed-0:15-8.el7_3Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.3 Telco Extended Update Supportgrub2-1:2.02-0.86.el7Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.3 Telco Extended Update Supportshim-0:15-8.el7Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.3 Telco Extended Update Supportshim-signed-0:15-8.el7_3Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutionsgrub2-1:2.02-0.86.el7Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutionsshim-0:15-8.el7Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutionsshim-signed-0:15-8.el7_3Fixed 2020-08-03RHSA-2020:3276
Red Hat Enterprise Linux 7.4 Advanced Update Supportfwupdate-0:9-10.el7_4Fixed 2020-08-03RHSA-2020:3275
Red Hat Enterprise Linux 7.4 Advanced Update Supportgrub2-1:2.02-0.86.el7_4Fixed 2020-08-03RHSA-2020:3275
Red Hat Enterprise Linux 7.4 Advanced Update Supportshim-0:15-8.el7Fixed 2020-08-03RHSA-2020:3275
Red Hat Enterprise Linux 7.4 Advanced Update Supportshim-signed-0:15-8.el7_4Fixed 2020-08-03RHSA-2020:3275
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportfwupdate-0:9-10.el7_4Fixed 2020-08-03RHSA-2020:3275
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportgrub2-1:2.02-0.86.el7_4Fixed 2020-08-03RHSA-2020:3275
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportshim-0:15-8.el7Fixed 2020-08-03RHSA-2020:3275
24 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15707.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-21-336-06Hitachi Energy APM Edge2021-12-02EnergyAPM Edge: Version 3.0, APM Edge: Version 2.0, APM Edge: Version 1.0none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON