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 from each section to be loaded.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.33%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.33% probability · 26th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- redhat/shim
- Source
- security@ubuntu.com
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28737Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/06/07/5Mailing List, Third Party Advisory
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28737Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/06/07/5Mailing List, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.