summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Setje-Eilers <jan.setjeeilers@oracle.com>2023-09-20 18:03:41 -0700
committerJan Setje-Eilers <jan.setjeeilers@oracle.com>2024-01-17 11:49:38 -0800
commit57c0eedfa1ebf6e2132a9cb26a7b0fcdee82557f (patch)
tree8553e955e2bc55b18fb541f45efea3a1d0e58b66
parent6f0c8d2c920c82359f231205b26eb4ddd3718e1d (diff)
downloadefi-boot-shim-57c0eedfa1ebf6e2132a9cb26a7b0fcdee82557f.tar.gz
efi-boot-shim-57c0eedfa1ebf6e2132a9cb26a7b0fcdee82557f.zip
Updated Revocations for January 2024 CVEs
Since shim is inherently updated by shipping a new shim, the latest built in revocations can include the most recent shim revocations. Since CVE-2023-40547 is high impact, this revocation should be available to everyone as soon as possible. GRUB2 CVE-2023-4692 and CVE-2023-4693 are in the ntfs module that only some vendors ship. Since some vendors did not ship an updated GRUB2 for these issues, the revocation for these CVEs is not included in the payload at this time. Signed-off-by: Jan Setje-Eilers <jan.setjeeilers@oracle.com>
-rw-r--r--SbatLevel_Variable.txt76
-rwxr-xr-xdata/sbat.csv2
-rw-r--r--include/sbat_var_defs.h7
3 files changed, 75 insertions, 10 deletions
diff --git a/SbatLevel_Variable.txt b/SbatLevel_Variable.txt
index 8696304d..42a388e4 100644
--- a/SbatLevel_Variable.txt
+++ b/SbatLevel_Variable.txt
@@ -12,7 +12,7 @@ Initialized, no revocations:
sbat,1,2021030218
-To Revoke GRUB binaries impacted by
+To Revoke GRUB2 binaries impacted by
* CVE-2021-3695
* CVE-2021-3696
@@ -21,22 +21,88 @@ To Revoke GRUB binaries impacted by
* CVE-2022-28734
* CVE-2022-28735
* CVE-2022-28736
+
+sbat,1,2022052400
+grub,2
+
+and shim binaries impacted by
+
* CVE-2022-28737
sbat,1,2022052400
+shim,2
grub,2
-To revoke the above and also grub binaries impacted by
+Shim delivered both versions of these revocations with
+the same 2022052400 date stamp, once as an opt-in latest
+revocation with shim,2 and then as an automatic revocation without
+shim,2
+
+
+To revoke GRUB2 grub binaries impacted by
* CVE-2022-2601
* CVE-2022-3775
sbat,1,2022111500
+shim,2
grub,3
-An additonal bug was fixed in shim that was not considered exploitable
-and can be revoked by setting:
+To revoke Debian's grub.3 which missed
+the patches:
-sbat,1,2022111500
+sbat,1,2023012900
+shim,2
+grub,3
+grub.debian,4
+
+
+An additonal bug was fixed in shim that was not considered exploitable,
+can be revoked by setting:
+
+sbat,1,2023012950
+shim,3
+grub,3
+grub.debian,4
+
+shim did not deliver this payload at the time
+
+
+To Revoke GRUB2 binaries impacted by:
+
+* CVE-2023-4692
+* CVE-2023-4693
+
+These CVEs are in the ntfs module and vendors that do and do not
+ship this module as part of their signed binary are split.
+
+sbat,1,2023091900
shim,2
+grub,4
+
+Since not everyone has shipped updated GRUB packages, shim did not
+deliver this revocation at the time.
+
+To Revoke shim binaries impacted by:
+
+* CVE-2023-40547
+* CVE-2023-40546
+* CVE-2023-40548
+* CVE-2023-40549
+* CVE-2023-40550
+* CVE-2023-40551
+
+sbat,1,2024010900
+shim,4
grub,3
+grub.debian,4
+
+Since http boot shim CVE is considerably more serious than then GRUB
+ntfs CVEs shim is delivering the shim revocation without the updated
+GRUB revocation as a latest payload.
+
+To revoke both the impacted shim and impacted GRUB binaries:
+
+sbat,1,2024<date TBD>
+shim,4
+grub,4
diff --git a/data/sbat.csv b/data/sbat.csv
index 2beec754..18293727 100755
--- a/data/sbat.csv
+++ b/data/sbat.csv
@@ -1,2 +1,2 @@
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
-shim,3,UEFI shim,shim,1,https://github.com/rhboot/shim
+shim,4,UEFI shim,shim,1,https://github.com/rhboot/shim
diff --git a/include/sbat_var_defs.h b/include/sbat_var_defs.h
index 772df972..8e643a4e 100644
--- a/include/sbat_var_defs.h
+++ b/include/sbat_var_defs.h
@@ -33,11 +33,10 @@
SBAT_VAR_SIG SBAT_VAR_VERSION SBAT_VAR_PREVIOUS_DATE "\n"
/*
- * Debian's grub.3 update was broken - some binaries included the SBAT
- * data update but not the security patches :-(
+ * Revocations for January 2024 shim CVEs
*/
-#define SBAT_VAR_LATEST_DATE "2023012900"
-#define SBAT_VAR_LATEST_REVOCATIONS "shim,2\ngrub,3\ngrub.debian,4\n"
+#define SBAT_VAR_LATEST_DATE "2024010900"
+#define SBAT_VAR_LATEST_REVOCATIONS "shim,4\ngrub,3\ngrub.debian,4\n"
#define SBAT_VAR_LATEST \
SBAT_VAR_SIG SBAT_VAR_VERSION SBAT_VAR_LATEST_DATE "\n" \
SBAT_VAR_LATEST_REVOCATIONS