High severity · published Jul 20, 2023
CVE-2022-28737
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…
7.8
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SH
Shim · Redhat
before 15.6 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-28737
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-28737
Third Party Advisory
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28737
Mailing List
https://www.openwall.com/lists/oss-security/2022/06/07/5
More from Shim
8.3
CVE-2023-40547
Shim: rce in http boot support may lead to secure boot bypass
7.4
CVE-2023-40548
Shim: interger overflow leads to heap buffer overflow in verify_sbat_section on 32-bits systems
5.5
CVE-2023-40546
Shim: out-of-bounds read printing error messages
5.5
CVE-2023-40549
Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file
5.5
CVE-2023-40550
Shim: out-of-bound read in verify_buffer_sbat()
