CVE-2022-28737

Source
https://cve.org/CVERecord?id=CVE-2022-28737
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-28737.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-28737
Downstream
Related
Published
2023-07-20T00:26:15.627Z
Modified
2026-05-18T05:53:48.000912536Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables
Details

There's a possible overflow in handleimage() when shim tries to load and execute crafted EFI executables; The handleimage() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28737.json",
    "cna_assigner": "canonical"
}
References

Affected packages

Git / github.com/rhboot/shim

Affected ranges

Type
GIT
Repo
https://github.com/rhboot/shim
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.3
0.4
0.5
0.7
0.8
0.9
Other
11
12
13
14
15
15.*
15.2
15.3
15.4
15.5
15.5-rc2
15.6-rc2
shim-15.*
shim-15.3-rc1
shim-15.3-rc2
shim-15.3-rc3
shim-15.3-rc4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-28737.json"