Skip to content

Commit

Permalink
Provide patches for new networking vulnerabilities in EDK2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbaur authored and danielfullmer committed Jan 18, 2024
1 parent 1399381 commit 23645d7
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion pkgs/uefi-firmware/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, stdenv
, buildPackages
, fetchFromGitHub
, fetchurl
, fetchpatch
, fetchpatch2
, runCommand
Expand Down Expand Up @@ -216,7 +217,22 @@ let
chmod -R u+w BaseTools
'';

patches = opensslPatches ++ edk2UefiPatches;
patches = opensslPatches ++ edk2UefiPatches ++ [
(fetchurl {
# Patch format does not play well with fetchpatch, it should be fine this is a static attachment in a ticket
name = "CVE-2023-45229_CVE-2023-45230_CVE-2023-45231_CVE-2023-45232_CVE-2023-45233_CVE-2023-45234_CVE-2023-45235.patch";
url = "https://bugzilla.tianocore.org/attachment.cgi?id=1457";
hash = "sha256-CF41lbjnXbq/6DxMW6q1qcLJ8WAs+U0Rjci+jRwJYYY=";
})
(fetchpatch {
name = "CVE-2022-36764.patch";
url = "https://bugzilla.tianocore.org/attachment.cgi?id=1436";
hash = "sha256-czku8DgElisDv6minI67nNt6BS+vH6txslZdqiGaQR4=";
excludes = [
"SecurityPkg/Test/SecurityPkgHostTest.dsc"
];
})
];

postPatch = ''
# This has been taken from:
Expand Down

0 comments on commit 23645d7

Please sign in to comment.