Arbitrary Code Injection Affecting libssh package, versions <0:0.9.6-14.el8
Threat Intelligence
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 ID SNYK-ORACLE8-LIBSSH-7163925
- published 30 May 2024
- disclosed 3 Jan 2024
How to fix?
Upgrade Oracle:8
libssh
to version 0:0.9.6-14.el8 or higher.
This issue was patched in ELSA-2024-3233
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libssh
package and not the libssh
package as distributed by Oracle
.
See How to fix?
for Oracle:8
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.
References
- https://linux.oracle.com/cve/CVE-2023-6004.html
- https://linux.oracle.com/errata/ELSA-2024-2504.html
- https://access.redhat.com/security/cve/CVE-2023-6004
- https://bugzilla.redhat.com/show_bug.cgi?id=2251110
- https://www.libssh.org/security/advisories/CVE-2023-6004.txt
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/
- https://security.netapp.com/advisory/ntap-20240223-0004/
- https://access.redhat.com/errata/RHSA-2024:2504
- https://access.redhat.com/errata/RHSA-2024:3233