Name
openssh
Version
8.9p1
Type
library
Description
A suite of security-related network utilities based on the SSH protocol including the ssh client and sshd server
Licenses
BSD-2-Clause & BSD-3-Clause & ISC & MIT
PURL
-
CPE
cpe:2.3:*:openbsd:openssh:8.9p1:*:*:*:*:*:*:*
Other Versions#
Patches#
#
Title
Author
Resolve
1
upstream: don't allow \0 characters in url-encoded strings.
"djm@openbsd.org" <djm@openbsd.org>
CVE-2025-61985
2
remove support for old libcrypto
Damien Miller <djm@mindrot.org>
3
upstream: Improve rules for %-expansion of username.
"djm@openbsd.org" <djm@openbsd.org>
CVE-2025-61984
4
upstream: apply destination constraints to all p11 keys
"djm@openbsd.org" <djm@openbsd.org>
CVE-2023-51384
5
upstream: implement "strict key exchange" in ssh and sshd
"djm@openbsd.org" <djm@openbsd.org>
CVE-2023-48795
6
Improve detection of -fzero-call-used-regs=all support
Colin Watson <cjwatson@debian.org>
7
upstream: Fix cases where error codes were not correctly set
"djm@openbsd.org" <djm@openbsd.org>
CVE-2025-26465
8
upstream: Fix logic error in DisableForwarding option. This
"djm@openbsd.org" <djm@openbsd.org>
CVE-2025-32728
9
Fix potential signed overflow in pointer arithmatic
Yuanjie Huang <yuanjie.huang@windriver.com>
10
upstream: Separate ssh-pkcs11-helpers for each p11 module
"djm@openbsd.org" <djm@openbsd.org>
CVE-2023-38408
11
Patch #11
Jose Quaresma <jose.quaresma@foundries.io>
CVE-2024-6387
12
upstream: include destination constraints for smartcard keys
"djm@openbsd.org" <djm@openbsd.org>
CVE-2023-28531
13
upstream: Ensure FIDO/PKCS11 libraries contain expected
"djm@openbsd.org" <djm@openbsd.org>
CVE-2023-38408
14
Patch #14
Maxin B. John <maxin.john@enea.com>
15
Default to not using sandbox when cross compiling.
Darren Tucker <dtucker@dtucker.net>
16
upstream: Disallow remote addition of FIDO/PKCS11
"djm@openbsd.org" <djm@openbsd.org>
CVE-2023-38408
17
upstream: fix AuthorizedPrincipalsCommand when
"djm@openbsd.org" <djm@openbsd.org>
18
upstream: terminate process if requested to load a
"djm@openbsd.org" <djm@openbsd.org>
CVE-2023-38408
19
upstream: ban user/hostnames with most shell metacharacters
"djm@openbsd.org" <djm@openbsd.org>
CVE-2023-51385
Vulnerabilities#
Name
Analysis
Description
Exploitable
OpenSSH before 10.3 mishandles the authorized_keys principals option in uncommon scenarios involving a principals list in conjunction with a Certificate Authority that makes certain use of comma characters.
Exploitable
OpenSSH before 10.3 omits connection multiplexing confirmation for proxy-mode multiplexing sessions.
Exploitable
OpenSSH before 10.3 can use unintended ECDSA algorithms. Listing of any ECDSA algorithm in PubkeyAcceptedAlgorithms or HostbasedAcceptedAlgorithms is misinterpreted to mean all ECDSA algorithms.
Exploitable
In OpenSSH before 10.3, command execution can occur via shell metacharacters in a username within a command line. This requires a scenario where the username on the command line is untrusted, and also requires a non-default configurations of % in ssh_config.
Exploitable
In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).
Patched
ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used.
Patched
ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leading to code execution when a ProxyCommand is used. The untrusted sources are the command line and %-sequence expansion of a configuration file. (A configuration file that provides a complete literal username is not categorized as an untrusted source.)
Patched
In sshd in OpenSSH before 10.0, the DisableForwarding directive does not adhere to the documentation stating that it disables X11 and agent forwarding.
Patched
A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. A machine-in-the-middle attack can be performed by a malicious machine impersonating a legit server. This issue occurs due to how OpenSSH mishandles error codes in specific conditions when verifying the host key. For an attack to be considered successful, the attacker needs to manage to exhaust the client's memory resource first, turning the attack complexity high.
Patched
A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead sshd to handle some signals in an unsafe manner. An unauthenticated, remote attacker may be able to trigger it by failing to authenticate within a set time period.
Patched
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.
Patched
In ssh-agent in OpenSSH before 9.6, certain destination constraints can be incompletely applied. When destination constraints are specified during addition of PKCS#11-hosted private keys, these constraints are only applied to the first key, even if a PKCS#11 token returns multiple keys.
Patched
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com MAC algorithms. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, PuTTY before 0.80, AsyncSSH before 2.14.2, golang.org/x/crypto before 0.17.0, libssh before 0.10.6, libssh2 through 1.11.0, Thorn Tech SFTP Gateway before 3.4.6, Tera Term before 5.1, Paramiko before 3.4.0, jsch before 0.2.15, SFTPGo before 2.5.6, Netgate pfSense Plus through 23.09.1, Netgate pfSense CE through 2.7.2, HPN-SSH through 18.2.0, ProFTPD before 1.3.8b (and before 1.3.9rc2), ORYX CycloneSSH before 2.3.4, NetSarang XShell 7 before Build 0144, CrushFTP before 10.6.0, ConnectBot SSH library before 2.2.22, Apache MINA sshd through 2.11.0, sshj through 0.37.0, TinySSH through 20230101, trilead-ssh2 6401, LANCOM LCOS and LANconfig, FileZilla before 3.66.4, Nova before 11.8, PKIX-SSH before 14.4, SecureCRT before 9.4.3, Transmit5 before 5.10.4, Win32-OpenSSH before 9.5.0.0p1-Beta, WinSCP before 6.2.2, Bitvise SSH Server before 9.32, Bitvise SSH Client before 9.33, KiTTY through 0.76.1.13, the net-ssh gem 7.2.0 for Ruby, the mscdex ssh2 module before 1.15.0 for Node.js, the thrussh library before 0.35.1 for Rust, and the Russh crate before 0.40.2 for Rust.
Patched
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if an agent is forwarded to an attacker-controlled system. (Code in /usr/lib is not necessarily safe for loading into ssh-agent.) NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.
Patched
ssh-add in OpenSSH before 9.3 adds smartcard keys to ssh-agent without the intended per-hop destination constraints. The earliest affected version is 8.9.