{"id":"ALPINE-CVE-2023-6004","details":"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.","modified":"2026-11-12T01:30:10.647832018Z","published":"2024-01-03T17:15:11.623Z","upstream":["CVE-2023-6004"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2023-6004"}],"affected":[{"package":{"name":"libssh","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/libssh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"0.10.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-6004.json"}},{"package":{"name":"libssh","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/libssh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"0.10.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-6004.json"}},{"package":{"name":"libssh","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/libssh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"0.10.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-6004.json"}},{"package":{"name":"libssh","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/libssh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"0.10.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-6004.json"}},{"package":{"name":"libssh","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/libssh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"0.10.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-6004.json"}},{"package":{"name":"libssh","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/libssh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"0.10.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-6004.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"}]}