Arbitrary Code Injection Affecting libssh-devel package, versions <0:0.10.4-13.el9


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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 IDSNYK-RHEL9-LIBSSHDEVEL-7883019
  • published3 Sept 2024
  • disclosed18 Dec 2023

Introduced: 18 Dec 2023

CVE-2023-6004  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade RHEL:9 libssh-devel to version 0:0.10.4-13.el9 or higher.
This issue was patched in RHSA-2024:2504.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh-devel package and not the libssh-devel package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, users can exploit unchecked hostname syntax on the client. This issue may allow an attacker to inject malicious code into the command of the features mentioned through the hostname parameter.

CVSS Scores

version 3.1