diff --git a/pkgs/os-specific/linux/cifs-utils/default.nix b/pkgs/os-specific/linux/cifs-utils/default.nix index d48e541abfe7..00ffb081bf7c 100644 --- a/pkgs/os-specific/linux/cifs-utils/default.nix +++ b/pkgs/os-specific/linux/cifs-utils/default.nix @@ -20,12 +20,17 @@ stdenv.mkDerivation rec { url = "https://attachments.samba.org/attachment.cgi?id=16148"; sha256 = "1xw3d11wb1l8a89jhdp6hhy987nq0gafxfhx5jdhcc5nazahc7s4"; }) + (fetchpatch { + name = "CVE-2021-20208.patch"; + url = "https://attachments.samba.org/attachment.cgi?id=16477"; + sha256 = "1nic669fa65r845pxfb6lmfs78g7aqbaz86r0axm332inb60hj10"; + }) ]; makeFlags = [ "root_sbindir=$(out)/sbin" ]; meta = with stdenv.lib; { - homepage = "http://www.samba.org/linux-cifs/cifs-utils/"; + homepage = "https://wiki.samba.org/index.php/LinuxCIFS_utils"; description = "Tools for managing Linux CIFS client filesystems"; platforms = platforms.linux; license = licenses.lgpl3;