Skip to content

Commit

Permalink
Merge pull request #86271 from mweinelt/19.09/coturn/CVE-2020-6061+6062
Browse files Browse the repository at this point in the history
[19.09] coturn: apply patch for CVE-2020-6061/6062
  • Loading branch information
rasendubi committed Apr 29, 2020
2 parents a7ceb25 + ac3ed15 commit 1d06d40
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/servers/coturn/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, openssl, libevent }:
{ stdenv, fetchFromGitHub, fetchpatch, openssl, libevent }:

stdenv.mkDerivation rec {
pname = "coturn";
Expand All @@ -13,7 +13,14 @@ stdenv.mkDerivation rec {

buildInputs = [ openssl libevent ];

patches = [ ./pure-configure.patch ];
patches = [
./pure-configure.patch
(fetchpatch {
name = "CVE-2020-6061+6062.patch";
url = "https://sources.debian.org/data/main/c/coturn/4.5.1.1-1.2/debian/patches/CVE-2020-6061+6062.patch";
sha256 = "0fcy1wp91bb4hlhnp96sf9bs0d9hf3pwx5f7b1r9cfvr3l5c1bk2";
})
];

meta = with stdenv.lib; {
homepage = https://coturn.net/;
Expand Down

0 comments on commit 1d06d40

Please sign in to comment.