Skip to content

Commit

Permalink
openssh: apply CVE-2018-20685 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
andir committed Jan 13, 2019
1 parent f9bd153 commit 6d3a653
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/tools/networking/openssh/default.nix
Expand Up @@ -41,6 +41,15 @@ stdenv.mkDerivation rec {

# See discussion in https://github.com/NixOS/nixpkgs/pull/16966
./dont_create_privsep_path.patch

# CVE-2018-20685, can probably be dropped with next version bump
# See https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
# for details
(fetchpatch {
name = "CVE-2018-20685.patch";
url = https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2.patch;
sha256 = "0q27i9ymr97yb628y44qi4m11hk5qikb1ji1vhvax8hp18lwskds";
})
]
++ optional withGssapiPatches (assert withKerberos; gssapiPatch);

Expand Down

0 comments on commit 6d3a653

Please sign in to comment.