GLSA 202003-27: libssh: Arbitrary command execution
Severity: | normal |
Title: | libssh: Arbitrary command execution |
Date: | 03/15/2020 |
Bugs: |
|
ID: | 202003-27 |
Synopsis
A vulnerability in libssh could allow a remote attacker to execute arbitrary commands.Background
libssh is a multiplatform C library implementing the SSHv2 protocol on client and server side.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
net-libs/libssh | < 0.9.3 | >= 0.9.3 | All supported architectures |
Description
It was discovered that libssh incorrectly handled certain scp commands.
Impact
A remote attacker could trick a victim into using a specially crafted scp command, possibly resulting in the execution of arbitrary commands on the server.
Workaround
There is no known workaround at this time.
Resolution
All libssh users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-libs/libssh-0.9.3"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
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 security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
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.