fix: mitigation for CVE-2024-6387
This commit is contained in:
parent
d6ef9e0685
commit
82655a38a7
1 changed files with 5 additions and 0 deletions
|
@ -49,5 +49,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh.enable = mkDefault true;
|
programs.zsh.enable = mkDefault true;
|
||||||
|
|
||||||
|
# Mitigation for CVE-2024-6387
|
||||||
|
# Might be vulnerable to DOS, but better than RCE ...
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/323753#issuecomment-2199762128
|
||||||
|
services.openssh.settings.LoginGraceTime = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue