Vulnerabilities · 2023 · Openbsd
CVE-2023-51385
Openbsd Openssh vulnerability
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 products
Openssh, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openbsd Openssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a · Patch
- www.openwall.com/lists/oss-security/2023/12/26/4 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2023/12/msg00017.html · Third Party Advisory
- security.gentoo.org/glsa/202312-17 · Third Party Advisory
- vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/ope · Third Party Advisory
- www.debian.org/security/2023/dsa-5586 · Third Party Advisory
- seclists.org/fulldisclosure/2024/Mar/21
- security.netapp.com/advisory/ntap-20240105-0005/
- nvd.nist.gov/vuln/detail/CVE-2023-51385
- cve.org/CVERecord?id=CVE-2023-51385
More vulnerabilities in Openbsd products
CVE-2025-32728CVE-2025-30334CVE-2025-26466CVE-2025-26465CVE-2024-29937CVE-2024-11149CVE-2024-11148CVE-2024-10934All 307
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.