Buffer overflow in edk2 - CVE-2018-12182
Published: August 2, 2024
Vulnerability identifier: #VU95178
CSH Severity: Low
CVSS v4 BT: 5.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2018-12182
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to insufficient memory write check in SMM service. A local user can trigger memory corruption and execute arbitrary code with elevated privileges.Affected software
edk2
Ubuntu
ovmf (Ubuntu package)
qemu-efi (Ubuntu package)
qemu-efi-aarch64 (Ubuntu package)
qemu-efi-arm (Ubuntu package)
Ubuntu
ovmf (Ubuntu package)
qemu-efi (Ubuntu package)
qemu-efi-aarch64 (Ubuntu package)
qemu-efi-arm (Ubuntu package)
How to mitigate CVE-2018-12182
Install updates from vendor's website.
edk2 - update to edk2-stable201905
ovmf (Ubuntu package) - update to Ubuntu Pro
qemu-efi (Ubuntu package) - update to Ubuntu Pro
qemu-efi-aarch64 (Ubuntu package) - update to Ubuntu Pro
qemu-efi-arm (Ubuntu package) - update to Ubuntu Pro
ovmf (Ubuntu package) - update to Ubuntu Pro
qemu-efi (Ubuntu package) - update to Ubuntu Pro
qemu-efi-aarch64 (Ubuntu package) - update to Ubuntu Pro
qemu-efi-arm (Ubuntu package) - update to Ubuntu Pro
External References
- http://www.securityfocus.com/bid/107648
- https://edk2-docs.gitbooks.io/security-advisory/content/sw-smi-confused-deputy-smramsavestate_c.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQYVZRFEXSN3KS43AVH4D7QX553EZQYP/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03912en_us