CVE-2023-51385
6.5
MEDIUM
CVSS 3.1
EPSS 17.2%
Description
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.
How to fix CVE-2023-51385
To remediate CVE-2023-51385, upgrade the affected package to a fixed version below.
- Alpine/openssh—upgrade to 9.0_p1-r5 or later
- —upgrade to 1:8.4p1-5+deb11u3 or later
Is CVE-2023-51385 being exploited?
Moderate — EPSS is 17.2%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 9.0_p1-r5
- from 0, < 1:8.4p1-5+deb11u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |