CVE Vulnerabilities

CVE-2023-6004

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Jan 03, 2024 | Modified: Apr 30, 2024
CVSS 3.x
4.8
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

Name Vendor Start Version End Version
Libssh Libssh 0.8.0 (including) 0.9.8 (excluding)
Libssh Libssh 0.10.0 (including) 0.10.6 (excluding)

Potential Mitigations

References