GLSA 201601-01: OpenSSH: Multiple vulnerabilities

Title:OpenSSH: Multiple vulnerabilities
Bugs: #571892


Multiple vulnerabilities have been found in OpenSSH, allowing attackers to leak client memory to a server, including private keys.


OpenSSH is a complete SSH protocol implementation that includes SFTP client and server support.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-misc/openssh < 7.1_p2 >= 7.1_p2 All supported architectures


Qualys have reported two issues in the “roaming” code included in the OpenSSH client, which provides undocumented, experimental support for resuming SSH connections. An OpenSSH client could be tricked into leaking parts of its memory to a malicious server. Furthermore, a buffer overflow can be exploited by a malicious server, but its exploitation requires non-default options and is mitigated due to another bug.


A remote attacker could entice a user to connect to a specially crafted OpenSSH server, possibly resulting in the disclosure of the user’s private keys. Users with private keys that are not protected by a passphrase are advised to generate new keys if they have connected to an SSH server they don’t fully trust.

Note that no special configuration is required to be vulnerable as the roaming feature is enabled by default on the client.


The issues can be worked around by disabling the roaming code. To do so, add “UseRoaming no” to the SSH client configuration, or specify “-o ‘UseRoaming no’” on the command line.


All OpenSSH users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=net-misc/openssh-7.1_p2"



This GLSA and any updates to it are available for viewing at the Gentoo Security Website:


Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to or alternatively, you may file a bug at


Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!