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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-51378Cross-Site Request Forgery (CSRF) vulnerability in Rise Them…8.8
- CVE-2023-51379An incorrect authorization vulnerability was identified in G…4.9
- CVE-2023-5138Glitch detection is not enabled by default for the CortexM33…6.8
- CVE-2023-51380An incorrect authorization vulnerability was identified in G…4.3
- CVE-2023-51381Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2023-51384In ssh-agent in OpenSSH before 9.6, certain destination cons…5.5
- CVE-2023-51386Sandbox Accounts for Events provides multiple, temporary AWS…3.3
- CVE-2023-51387Hertzbeat is an open source, real-time monitoring system. He…8.8
- CVE-2023-51388Hertzbeat is a real-time monitoring system. In `CalculateAla…9.8
- CVE-2023-51389Hertzbeat is a real-time monitoring system. At the interface…9.8
- CVE-2023-5139Potential buffer overflow vulnerability at the following loc…7.8
- CVE-2023-51390journalpump is a daemon that takes log messages from journal…7.5
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
