cve.bz

CVE-2022-28737 redhat shim: Out-of-bounds Write

7.8 highEPSS 0.3%

High (7.8) in redhat shim. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables; The handle_image() function takes into account the SizeOfRawData field from each section to be loaded. An attacker can leverage this to perform out-of-bound writes into memory. Arbitrary code execution is not discarded in such scenario.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 26th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-10-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
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-2022-28737 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-28737?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-28737?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-2022-28737 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
Red Hat Bootloader Team shimbefore 15.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14shim15.6-1DEBIAN-CVE-2022-28737
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSshimno fix listedUBUNTU-CVE-2022-28737
Ubuntu20.04:LTSgrub2-signed1.187.3~20.04.1USN-6355-1
Ubuntu20.04:LTSshim-signed1.40.9USN-6355-1
Ubuntu20.04:LTS, 22.04:LTSgrub2-unsigned2.06-2ubuntu14.1USN-6355-1
Ubuntu20.04:LTS, 22.04:LTSshim15.7-0ubuntu1UBUNTU-CVE-2022-28737 USN-6355-1
Ubuntu22.04:LTSgrub2-signed1.187.3~22.04.1USN-6355-1
Ubuntu22.04:LTSshim-signed1.51.3USN-6355-1
Red Hatenterprise_linux:8::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-123.el8_6.8RHSA-2022:5095
Red Hatenterprise_linux:8::baseosshim, shim-x64, shim-aa64 and 1 more0:15.6-1.el8RHSA-2022:5095
Red Hatenterprise_linux:8::crbshim-unsigned-x640:15.6-1.el8RHSA-2022:5095
Red Hatenterprise_linux:9::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.06-27.el9_0.7RHSA-2022:5099
Red Hatenterprise_linux:9::baseosshim, shim-x64, shim-aa640:15.6-1.el9RHSA-2022:5099
Red Hatenterprise_linux:9::crbshim-unsigned-x640:15.6-1.el9RHSA-2022:5099
Red Hatrhel_e4s:8.1::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.02-87.el8_1.10RHSA-2022:5098
Red Hatrhel_e4s:8.1::baseosshim, shim-x64, shim-ia320:15.6-1.el8RHSA-2022:5098
Red Hatrhel_eus:8.2::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-87.el8_2.10RHSA-2022:5100
Red Hatrhel_eus:8.2::baseosshim, shim-x64, shim-aa64 and 1 more0:15.6-1.el8RHSA-2022:5100
Red Hatrhel_eus:8.2::crbshim-unsigned-x640:15.6-1.el8RHSA-2022:5100
Red Hatrhel_eus:8.4::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-99.el8_4.9RHSA-2022:5096
2 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 4 moreshim15.7-150100.3.35.1SUSE-SU-2023:2086-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 10 moreshim15.7-150300.4.11.1SUSE-SU-2023:1702-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 10 moreshim15.7-150300.4.16.1SUSE-SU-2023:2084-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 moreshim15.8-150300.4.20.2SUSE-SU-2024:1368-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2shim15.8-150100.3.38.1SUSE-SU-2024:1461-1
SUSELinux Enterprise Server 12 SP2-BCLshim15.7-22.15.1SUSE-SU-2023:2150-1
SUSELinux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5 and 4 moreshim15.7-25.24.1SUSE-SU-2023:1863-1
SUSELinux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5 and 4 moreshim15.7-25.27.1SUSE-SU-2023:2091-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5shim15.8-25.30.1SUSE-SU-2024:1462-1
openSUSELeap 15.4, Leap Micro 5.3shim15.7-150300.4.11.1SUSE-SU-2023:1702-1
openSUSELeap 15.4, Leap Micro 5.3shim15.7-150300.4.16.1SUSE-SU-2023:2084-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4shim15.8-150300.4.20.2SUSE-SU-2024:1368-1
AlmaLinux8grub2-pc, grub2-tools, grub2-common and 14 more1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux8shim-x64, shim-aa64, shim-ia32 and 1 more15.6-1.el8.almaALSA-2022:5095
AlmaLinux9grub2-pc, grub2-tools, grub2-common and 12 more1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux9shim-x64, shim-aa64, shim-unsigned-x6415.6-1.el9.almaALSA-2022:5099
Rocky Linux8grub21:2.02-123.el8_6.8RLSA-2022:5095
Rocky Linux8mokutil1:0.3.0-11.el8_6.1RLSA-2022:5095
Rocky Linux8shim, shim-unsigned-x640:15.6-1.el8RLSA-2022:5095
Rocky Linux9mokutil2:0.4.0-8.el9_0.1RLSA-2022:5099
Rocky Linux9shim0:15.6-1.el9RLSA-2022:5099
Rocky Linux9shim0:15.6-1.el9.rocky.0.1RLSA-2022:5099
Azure Linux2shim15.8-1AZL-27559
Azure Linux3shim15.8-3AZL-35252
Azure Linux3shim-unsigned-aarch6415.8-3AZL-40910
Azure Linux3shim-unsigned-x6415.8-3AZL-41063

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8shim-0:15.6-1.el8Fixed 2022-06-16RHSA-2022:5095
Red Hat Enterprise Linux 8shim-unsigned-x64-0:15.6-1.el8Fixed 2022-06-16RHSA-2022:5095
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsshim-0:15.6-1.el8Fixed 2022-06-16RHSA-2022:5098
Red Hat Enterprise Linux 8.2 Extended Update Supportshim-0:15.6-1.el8Fixed 2022-06-16RHSA-2022:5100
Red Hat Enterprise Linux 8.2 Extended Update Supportshim-unsigned-x64-0:15.6-1.el8Fixed 2022-06-16RHSA-2022:5100
Red Hat Enterprise Linux 8.4 Extended Update Supportshim-0:15.6-1.el8Fixed 2022-06-16RHSA-2022:5096
Red Hat Enterprise Linux 8.4 Extended Update Supportshim-unsigned-x64-0:15.6-1.el8Fixed 2022-06-16RHSA-2022:5096
Red Hat Enterprise Linux 9shim-0:15.6-1.el9Fixed 2022-06-16RHSA-2022:5099
Red Hat Enterprise Linux 9shim-unsigned-x64-0:15.6-1.el9Fixed 2022-06-16RHSA-2022:5099
Red Hat Enterprise Linux 7shimAffected

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-2022-28737.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone 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.

References

Check your stackJSON