Merge pull request #204288 from mweinelt/22.05/botan2-CVE-2022-43705

This commit is contained in:
Martin Weinelt
2022-12-04 17:01:55 +01:00
committed by GitHub

View File

@@ -15,5 +15,46 @@ callPackage ./generic.nix (args // {
# our source tarball doesn't include the tests
excludes = [ "src/tests/*" ];
})
# https://github.com/randombit/botan/security/advisories/GHSA-4v9w-qvcq-6q7w
(fetchpatch {
name = "CVE-2022-43705-1.patch";
url = "https://github.com/randombit/botan/commit/fd83d9e262f63fb673e4c13ca37e5b768e41e812.patch";
hash = "sha256-f0vZGXalao1jqtaONlZna4alzpyLF4BbZwirQN+MPs0=";
})
(fetchpatch {
name = "CVE-2022-43705-2.patch";
url = "https://github.com/randombit/botan/commit/4e35073ff356e37c3adcf1ff3522e9d0d48c765f.patch";
hash = "sha256-BBoIMuI1ayesI0rhYbdlO6rphZE1C4LCYI7bwHd8bUw=";
})
(fetchpatch {
name = "CVE-2022-43705-3.patch";
url = "https://github.com/randombit/botan/commit/c2faa88b0281e5017be72e1c85d0c41f686e1928.patch";
hash = "sha256-n88gRLrxQG5/cundLyajd1IEi7x4aS5Ou3a1BudTrXI=";
})
(fetchpatch {
name = "CVE-2022-43705-4.patch";
url = "https://github.com/randombit/botan/commit/5d8d9fbf75c8b814ea609161bee525d520f5cb57.patch";
hash = "sha256-gqm9mG1NUyYfzMA3vjUjdU4aWOyHU4hiptpXGCR+HqM=";
})
(fetchpatch {
name = "CVE-2022-43705-5.patch";
url = "https://github.com/randombit/botan/commit/1829ef9d89614da1eacdf511356bdf98a970f5f5.patch";
hash = "sha256-Whi4GOT6CPmV8qE2Q9ktJ11aozR8xvDV8h6bIRgxMPA=";
})
(fetchpatch {
name = "CVE-2022-43705-6.patch";
url = "https://github.com/randombit/botan/commit/991b0159282781f2d5c06ff42a9ff00ee563e96b.patch";
hash = "sha256-vEgfAlE5Pl5V0kVsjFtxm51ODubs9nRi52l50AiaTsM=";
})
(fetchpatch {
name = "CVE-2022-43705-7.patch";
url = "https://github.com/randombit/botan/commit/a33689613127f319c0047fb96f092de16e7cb350.patch";
hash = "sha256-3/l6RjPZDXTGPGwYVNDL/G213hCEIn0RV0JmNxOt4UI=";
})
(fetchpatch {
name = "CVE-2022-43705-8.patch";
url = "https://github.com/randombit/botan/commit/909c62717855402e04dbaf8ffc085f444d547aae.patch";
hash = "sha256-AAsmNgwN8887nE84/BgJOcb6IuLK11HZoMJOhyeqDpI=";
})
];
})