Vulnerability · Published Jul 20, 2023 · Assigned by canonical

CVE-2022-28734Out-of-bounds write when handling split HTTP headers

High 8.1

In plain English

A high-severity security flaw in GNU GRUB from GNU Project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.1%top 33.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

Out-of-bounds write when handling split HTTP headers; When handling split HTTP headers, GRUB2 HTTP code accidentally moves its internal data buffer point by one position. This can lead to a out-of-bound write further when parsing the HTTP request, writing a NULL byte past the buffer. It's conceivable that an attacker controlled set of packets can lead to corruption of the GRUB2's internal memory metadata.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8grub2-common1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-common1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-efi-aa641:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-efi-aa641:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-efi-aa64-cdboot1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-efi-aa64-cdboot1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-efi-aa64-modules1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-efi-aa64-modules1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-efi-ia321:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:8grub2-efi-ia32-cdboot1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:8grub2-efi-ia32-modules1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:8grub2-efi-x641:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-efi-x641:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-efi-x64-cdboot1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-efi-x64-cdboot1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-efi-x64-modules1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-efi-x64-modules1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-pc1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-pc1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-pc-modules1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-pc-modules1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:9grub2-ppc64le1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-ppc64le-modules1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-ppc64le-modules1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-tools1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-tools1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-tools-efi1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-tools-efi1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-tools-extra1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-tools-extra1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8grub2-tools-minimal1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux:9grub2-tools-minimal1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux:8shim-aa6415.6-1.el8.almaALSA-2022:5095
AlmaLinux:9shim-aa6415.6-1.el9.almaALSA-2022:5099
AlmaLinux:8shim-ia3215.6-1.el8.almaALSA-2022:5095
AlmaLinux:8shim-unsigned-x6415.6-1.el8.almaALSA-2022:5095
AlmaLinux:9shim-unsigned-x6415.6-1.el9.almaALSA-2022:5099
AlmaLinux:8shim-x6415.6-1.el8.almaALSA-2022:5095
AlmaLinux:9shim-x6415.6-1.el9.almaALSA-2022:5099
Debian:12grub22.06-3DEBIAN-CVE-2022-28734
Debian:13grub22.06-3DEBIAN-CVE-2022-28734
Debian:14grub22.06-3DEBIAN-CVE-2022-28734
Rocky Linux:8grub21:2.02-123.el8_6.8RLSA-2022:5095
Rocky Linux:8mokutil1:0.3.0-11.el8_6.1RLSA-2022:5095
Rocky Linux:9mokutil2:0.4.0-8.el9_0.1RLSA-2022:5099
Rocky Linux:8shim0:15.6-1.el8RLSA-2022:5095
Rocky Linux:9shim0:15.6-1.el9RLSA-2022:5099
Rocky Linux:9shim0:15.6-1.el9.rocky.0.1RLSA-2022:5099
Rocky Linux:8shim-unsigned-x640:15.6-1.el8RLSA-2022:5095
Ubuntu:22.04:LTSgrub2-signed1.187.3~22.04.1USN-6355-1
Ubuntu:22.04:LTSgrub2-signed1.187.3~22.04.1UBUNTU-CVE-2022-28734
Ubuntu:22.04:LTSgrub2-unsigned2.06-2ubuntu14.1UBUNTU-CVE-2022-28734
Ubuntu:22.04:LTSgrub2-unsigned2.06-2ubuntu14.1USN-6355-1
Ubuntu:22.04:LTSshim15.7-0ubuntu1USN-6355-1
Ubuntu:22.04:LTSshim-signed1.51.3USN-6355-1

Affected products (as reported)

VendorProductVersions
GNU Project GNU GRUB 0 – before 2.06-3

References