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.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://www.openssh.com/txt/release-9.6 | release notes |
https://www.openwall.com/lists/oss-security/2023/12/18/2 | release notes mailing list |
https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a | patch |
https://www.debian.org/security/2023/dsa-5586 | third party advisory vendor advisory |
https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html | third party advisory |
https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html | third party advisory mailing list |
http://www.openwall.com/lists/oss-security/2023/12/26/4 | third party advisory mailing list |
https://security.gentoo.org/glsa/202312-17 | third party advisory vendor advisory |
https://security.netapp.com/advisory/ntap-20240105-0005/ | |
https://support.apple.com/kb/HT214084 | |
http://seclists.org/fulldisclosure/2024/Mar/21 | mailing list |