all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: Re: [PATCH 0/2] libssh / libssh2 security updates
Date: Tue, 23 Feb 2016 18:37:03 -0500	[thread overview]
Message-ID: <20160223233703.GA10004@jasmine> (raw)
In-Reply-To: <cover.1456270087.git.leo@famulari.name>

I mistakenly sent an earlier draft of this email. Here is the correct
message:

These patches address CVE-2016-0739 (libssh) and CVE-2016-0786 (libssh2)
[0].

For libssh, we update to the latest upstream release, 0.7.3 [1].

Guile-ssh depends on a private package of an older version of libssh [2], so
we update that private package to the latest version supported by
guile-ssh, 0.6.5. This happens to be the previous version of our public
libssh package.

This allows us to remove the patch for CVE-2014-0017, which was fixed in
libssh-0.6.3 [3].

For libssh2, we update to the latest upstream release, 1.7.0. [4]

Many packages depend on libssh2, including curl, so we create a
temporary package of the old, vulnerable version, 1.4. When we have
rebuilt all packages affected by CVE-2016-0786, this temporary package
should be removed and curl should be made to depend on the latest
version. That future commit should state "Fixes CVE-2016-7087".

Please double check that curl does not need to be rebuilt before
applying these patches. Feel free to reorganize them changes or alter
the commit messages as desired.

[0]
http://seclists.org/oss-sec/2016/q1/408
http://www.libssh.org/archive/libssh/2016-02/0000013.html
https://libssh2.org/changes.html

[1]
http://www.libssh.org/archive/libssh/2016-02/0000013.html

[2]
https://github.com/artyom-poptsov/guile-ssh#requirements

[3]
https://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0017

[4]
https://libssh2.org/changes.html


On Tue, Feb 23, 2016 at 06:32:13PM -0500, Leo Famulari wrote:
> These patches address CVE-2016-0739 (libssh) and CVE-2016-0786 (libssh2)
> [0].
> 
> For libssh, we update to the latest upstream release, 0.7.3.
> 
> Guile-ssh depends on a private package of an older version of libssh [1], so
> we update that private package to the latest version supported by
> guile-ssh, 0.6.5. This happens to be the previous version of our public
> libssh package.
> 
> This allows us to remove the patch for CVE-2014-0017, which was fixed in
> libssh-0.6.3 [2].
> 
> For libssh2, we update to the latest upstream release, 1.7.0.
> 
> Many packages depend on libssh2, including curl, so we create a
> temporary package of the old, vulnerable version, 1.4. When we have
> rebuilt all packages affected by CVE-2016-0786, this temporary package
> should be removed and curl should be made to depend on the latest
> version. That future commit should state "Fixes CVE-2016-7087".
> 
> Please double check that curl does not need to be rebuilt before
> applying these patches. Feel free to reorganize them changes or alter
> the commit messages as desired.
> 
> [0]
> http://seclists.org/oss-sec/2016/q1/408
> http://www.libssh.org/archive/libssh/2016-02/0000013.html
> https://libssh2.org/changes.html
> 
> [1]
> https://github.com/artyom-poptsov/guile-ssh#requirements
> 
> [2]
> https://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/
> https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0017
> 
> 
> Leo Famulari (2):
>   gnu: libssh2: Update to 1.7.0.
>   gnu: libssh: Update to 0.7.3.
> 
>  gnu-system.am                                   |  1 -
>  gnu/packages/curl.scm                           |  2 +-
>  gnu/packages/patches/libssh-CVE-2014-0017.patch | 89 -------------------------
>  gnu/packages/ssh.scm                            | 48 +++++++++----
>  4 files changed, 35 insertions(+), 105 deletions(-)
>  delete mode 100644 gnu/packages/patches/libssh-CVE-2014-0017.patch
> 
> -- 
> 2.7.1
> 
> 

      parent reply	other threads:[~2016-02-23 23:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 23:32 [PATCH 0/2] libssh / libssh2 security updates Leo Famulari
2016-02-23 23:32 ` [PATCH 1/2] gnu: libssh2: Update to 1.7.0 Leo Famulari
2016-02-23 23:32 ` [PATCH 2/2] gnu: libssh: Update to 0.7.3 Leo Famulari
2016-02-23 23:37 ` Leo Famulari [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160223233703.GA10004@jasmine \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.