summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/security
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-01-26 18:02:35 +0100
committermakefu <github@syntax-fehler.de>2022-01-26 18:02:39 +0100
commit14e797325e2b0b99b42332868eea10bebe5390f0 (patch)
treec19666215b2f4e1ed4281faf0c22f9c963053ff9 /makefu/2configs/security
parent54aaf5af8ed4d62a2e6645b7ca662ffac310e86c (diff)
ma: apply CVE-2021-4034 hotfix
Diffstat (limited to 'makefu/2configs/security')
-rw-r--r--makefu/2configs/security/hotfix.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefu/2configs/security/hotfix.nix b/makefu/2configs/security/hotfix.nix
new file mode 100644
index 000000000..fc52f21e6
--- /dev/null
+++ b/makefu/2configs/security/hotfix.nix
@@ -0,0 +1,4 @@
+{ pkgs, lib,... }: {
+ # https://github.com/berdav/CVE-2021-4034
+ security.wrappers.pkexec.source = lib.mkForce (pkgs.writeText "pkexec" "");
+}