CVE-2023-6004

MEDIUM
Published Jan 3, 2024 Modified Nov 4, 2025 CWE-74

Description

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.

Is your site exposed to CVE-2023-6004?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

4.8
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Weakness Type (CWE)

CWE-74 CWE-74

Affected Products

Vendor Product
libssh libssh
libssh libssh
fedoraproject fedora
redhat enterprise_linux
redhat enterprise_linux

References

Frequently Asked Questions

What is CVE-2023-6004? +
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. It has a CVSS v3.1 base score of 4.8 (MEDIUM).
How severe is CVE-2023-6004? +
CVE-2023-6004 has a CVSS v3.1 score of 4.8 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2023-6004? +
CVE-2023-6004 affects products from fedoraproject, libssh, redhat, specifically: enterprise_linux, fedora, libssh. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2023-6004? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2023-6004 — free, no signup required.