CVE-2023-51385
Last modified
CVE-2023-51385 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 19.75% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openbsd | Openssh | < 9.6 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Debian | Debian Linux | 12.0 |
References
- http://www.openwall.com/lists/oss-security/2023/12/26/4Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/12/msg00017.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202312-17Third Party Advisory
- https://www.debian.org/security/2023/dsa-5586Third Party Advisory
- https://www.openssh.com/txt/release-9.6Release Notes
- https://www.openwall.com/lists/oss-security/2023/12/18/2Mailing List, Release Notes
- http://www.openwall.com/lists/oss-security/2023/12/26/4Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/12/msg00017.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202312-17Third Party Advisory
- https://www.debian.org/security/2023/dsa-5586Third Party Advisory
- https://www.openssh.com/txt/release-9.6Release Notes
- https://www.openwall.com/lists/oss-security/2023/12/18/2Mailing List, Release Notes
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-51385?
How severe is CVE-2023-51385?
How do I fix CVE-2023-51385?
Are you affected by CVE-2023-51385?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
