OS Command Injection Affecting libssh4-32bit package, versions <0.7.5-6.9.2


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.03% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES150-LIBSSH432BIT-2717514
  • published14 Apr 2022
  • disclosed20 Jan 2020

Introduced: 20 Jan 2020

CVE-2019-14889  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 libssh4-32bit to version 0.7.5-6.9.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh4-32bit package and not the libssh4-32bit package as distributed by SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a server, the scp command, which includes a user-provided path, is executed on the server-side. In case the library is used in a way where users can influence the third parameter of the function, it would become possible for an attacker to inject arbitrary commands, leading to a compromise of the remote target.

CVSS Scores

version 3.1