Vulnerabilities · 2023 · Libssh
CVE-2023-6004
Libssh vulnerability
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.
Affected products
Libssh, Fedora, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2023-6004 · Vendor Advisory
- access.redhat.com/errata/RHSA-2024:2504
- access.redhat.com/errata/RHSA-2024:3233
- bugzilla.redhat.com/show_bug.cgi?id=2251110
- www.libssh.org/security/advisories/CVE-2023-6004.txt
- lists.fedoraproject.org/archives/list/[email protected]/message/LZQ
- lists.fedoraproject.org/archives/list/[email protected]/message/MKQ
- security.netapp.com/advisory/ntap-20240223-0004/
- nvd.nist.gov/vuln/detail/CVE-2023-6004
- cve.org/CVERecord?id=CVE-2023-6004
More vulnerabilities in Libssh products
CVE-2025-8114CVE-2025-5987CVE-2025-5449CVE-2025-5372CVE-2025-5351CVE-2025-5318CVE-2023-6918CVE-2023-3603All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.