Unverified Commit 88f3dab5 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #324371 from mweinelt/znc-modtcl-rce

znc: fix modtcl rce
parents 18b00682 eed67077
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, openssl, pkg-config
{ lib, stdenv, fetchurl, fetchpatch2, openssl, pkg-config
, withPerl ? false, perl
, withPython ? false, python3
, withTcl ? false, tcl
@@ -18,6 +18,14 @@ stdenv.mkDerivation rec {
    sha256 = "03fyi0j44zcanj1rsdx93hkdskwfvhbywjiwd17f9q1a7yp8l8zz";
  };

  patches = [
    (fetchpatch2 {
      name = "CVE-2024-39844.patch";
      url = "https://people.znc.in/~darthgandalf/dir/ymQgfvwiG54pPFqyv1U0pcvvj5PLz5.txt";
      hash = "sha256-+WPlErDI4AR3UZL3P8IitFop1MBEa97pro57pr0/TZw=";
    })
  ];

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ openssl ]