{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-28737 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-28737 is a medium-severity memory corruption vulnerability in Red Hat Bootloader Team shim, published on 20 Jul 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-28737 and fix it if it is affected.\n\nWhat it is: CVE-2022-28737 is a medium-severity memory corruption vulnerability in Red Hat Bootloader Team shim, published on 20 Jul 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-28737 in the wild and no public exploit code.\n\nAffected product: Red Hat Bootloader Team shim. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-28737/ (Markdown: https://insights.sbomify.com/CVE-2022-28737/index.md)","id":"CVE-2022-28737","markdown":"https://insights.sbomify.com/CVE-2022-28737/index.md","name":"CVE-2022-28737","record":{"aliases":["AZL-27559","AZL-35252","AZL-40910","AZL-41063","DEBIAN-CVE-2022-28737","GHSA-hmxr-46w2-jjwh","OESA-2022-1799","SUSE-SU-2023:1702-1","SUSE-SU-2023:1863-1","SUSE-SU-2023:2084-1","SUSE-SU-2023:2086-1","SUSE-SU-2023:2091-1","SUSE-SU-2023:2150-1","UBUNTU-CVE-2022-28737"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"UEFI Secure Boot shim","requires_auth":"high_privilege","summary":"An attacker can execute arbitrary code by exploiting a memory overflow in the shim bootloader when loading crafted EFI executables.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"shim","vendor":"redhat"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"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.","ecosystems":["SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP4-ESPOS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables","id":"CVE-2022-28737","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":52,"n_references":2,"next":{"headline":"Use after free in n/a","id":"CVE-2022-28738"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["15.7-150100.3.35.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:2086-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["15.7-150100.3.35.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:2086-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["15.7-150100.3.35.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:2086-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["15.7-22.15.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2023:2150-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-ESPOS","fixed":["15.7-25.24.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-ESPOS","source":"SUSE-SU-2023:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-ESPOS","fixed":["15.7-25.27.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-ESPOS","source":"SUSE-SU-2023:2091-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["15.7-25.24.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2023:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["15.7-25.27.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2023:2091-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["15.7-25.24.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["15.7-25.27.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:2091-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["15.7-150100.3.35.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:2086-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["15.7-150100.3.35.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:2086-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:2084-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["15.7-25.24.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2023:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["15.7-25.27.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2023:2091-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["15.7-25.24.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["15.7-25.27.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:2091-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["15.7-150100.3.35.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:2086-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["15.7-150100.3.35.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:2086-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["15.7-150300.4.11.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:1702-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["15.7-150300.4.16.1"],"introduced":["0"],"last_affected":[],"package":"shim","purl":"pkg:rpm/suse/shim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:2084-1"}],"prev":{"headline":"There's a use-after-free vulnerability in grub_cmd_chainloader() function","id":"CVE-2022-28736"},"products":["shim"],"published":"2023-07-20","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2014-3676","kev_date_added":null,"published":"2014-10-22"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2014-3677","kev_date_added":null,"published":"2014-10-22"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2014-3675","kev_date_added":null,"published":"2014-10-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-22","vendors":["Red Hat Bootloader Team"]},"summary":"An attacker can execute arbitrary code by exploiting a memory overflow in the shim bootloader when loading crafted EFI executables.","url":"https://insights.sbomify.com/CVE-2022-28737/"}