cbcvebase.
CVE-2023-51385
published 2023-12-18

CVE-2023-51385: In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an…

PriorityP353medium6.5CVSS 3.1
AVNACLPRNUINSUCLILAN
EPSS
19.75%
97.1th percentile
In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name.

Affected

23 ranges
VendorProductVersion rangeFixed in
applemacos_sonoma
debiandebian_linux
debiandebian_linux
debiandebian_linux
debianopenssh< openssh 1:9.2p1-2+deb12u2 (bookworm)openssh 1:9.2p1-2+deb12u2 (bookworm)
msrcazl3_openssh_9.5p1-2_on_azure_linux_3.0
msrcazl3_openssh_9.7p1-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_openssh_8.9p1-3_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
openbsdopenssh< 9.69.6
openbsdopenssh>= 0 < 1:8.4p1-5+deb11u31:8.4p1-5+deb11u3
openbsdopenssh>= 0 < 1:9.2p1-2+deb12u21:9.2p1-2+deb12u2
openbsdopenssh>= 0 < 1:9.6p1-11:9.6p1-1
openbsdopenssh>= 0 < 1:9.6p1-11:9.6p1-1
openbsdopenssh>= 0 < 1:8.2p1-4ubuntu0.111:8.2p1-4ubuntu0.11
openbsdopenssh>= 0 < 1:8.9p1-3ubuntu0.61:8.9p1-3ubuntu0.6
openbsdopenssh>= 0 < 1:7.2p2-4ubuntu2.10+esm51:7.2p2-4ubuntu2.10+esm5
openbsdopenssh>= 0 < 1:7.6p1-4ubuntu0.7+esm31:7.6p1-4ubuntu0.7+esm3
paloaltopan-os
paloaltoprisma_sd

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
osv7.0HIGH
vendor_ubuntu7.0HIGH
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.