Nixpkgs security tracker

Login with GitHub

Suggestions search

With package: libssh2

Found 12 matching suggestions

View:
Compact
Detailed
Untriaged
created 3 months, 3 weeks ago Activity log
  • Created suggestion
Libssh: improper sanitation of paths received from scp servers

A malicious SCP server can send unexpected paths that could make the client application override local files outside of working directory. This could be misused to create malicious executable or configuration files and make the user execute them under specific consequences. This is the same issue as in OpenSSH, tracked as CVE-2019-6111.

Affected products

rhcos
libssh
libssh2

Matching in nixpkgs

pkgs.libssh2

Client-side C library implementing the SSH2 protocol

Package maintainers

Untriaged
created 3 months, 3 weeks ago Activity log
  • Created suggestion
Libssh: buffer underflow in ssh_get_hexa() on invalid input

The API function `ssh_get_hexa()` is vulnerable, when 0-lenght input is provided to this function. This function is used internally in `ssh_get_fingerprint_hash()` and `ssh_print_hexa()` (deprecated), which is vulnerable to the same input (length is provided by the calling application). The function is also used internally in the gssapi code for logging the OIDs received by the server during GSSAPI authentication. This could be triggered remotely, when the server allows GSSAPI authentication and logging verbosity is set at least to SSH_LOG_PACKET (3). This could cause self-DoS of the per-connection daemon process.

Affected products

rhcos
libssh
libssh2

Matching in nixpkgs

pkgs.libssh2

Client-side C library implementing the SSH2 protocol

Package maintainers