]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ssh: Update to OpenSSH 9.3p1
authorEd Maste <emaste@FreeBSD.org>
Thu, 16 Mar 2023 14:29:55 +0000 (10:29 -0400)
committerEd Maste <emaste@FreeBSD.org>
Fri, 17 Mar 2023 01:38:16 +0000 (21:38 -0400)
commit43ad40718af1a94abc2fb3fb932b08a91a56f291
tree87d8d71a6ef2450ca29d054df9dfa2f2d0ee9993
parent0c0c89736597709fec9cffd5b3b2703470995674
ssh: Update to OpenSSH 9.3p1

This release fixes a number of security bugs and has minor new
features and bug fixes.  Security fixes, from the release notes
(https://www.openssh.com/txt/release-9.3):

This release contains fixes for a security problem and a memory
safety problem. The memory safety problem is not believed to be
exploitable, but we report most network-reachable memory faults as
security bugs.

 * ssh-add(1): when adding smartcard keys to ssh-agent(1) with the
   per-hop destination constraints (ssh-add -h ...) added in OpenSSH
   8.9, a logic error prevented the constraints from being
   communicated to the agent. This resulted in the keys being added
   without constraints. The common cases of non-smartcard keys and
   keys without destination constraints are unaffected. This problem
   was reported by Luci Stanescu.

 * ssh(1): Portable OpenSSH provides an implementation of the
   getrrsetbyname(3) function if the standard library does not
   provide it, for use by the VerifyHostKeyDNS feature. A
   specifically crafted DNS response could cause this function to
   perform an out-of-bounds read of adjacent stack data, but this
   condition does not appear to be exploitable beyond denial-of-
   service to the ssh(1) client.

   The getrrsetbyname(3) replacement is only included if the system's
   standard library lacks this function and portable OpenSSH was not
   compiled with the ldns library (--with-ldns). getrrsetbyname(3) is
   only invoked if using VerifyHostKeyDNS to fetch SSHFP records. This
   problem was found by the Coverity static analyzer.

Approved by: re (cperciva)
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 4d3fc8b0570b29fb0d6ee9525f104d52176ff0d4)
(cherry picked from commit 802b483630974c2ccf2bfbc90b39102b9e47d22b)
101 files changed:
crypto/openssh/.depend
crypto/openssh/.github/ci-status.md
crypto/openssh/.github/configs
crypto/openssh/.github/run_test.sh
crypto/openssh/.github/setup_ci.sh
crypto/openssh/.github/workflows/c-cpp.yml
crypto/openssh/.github/workflows/selfhosted.yml
crypto/openssh/.github/workflows/upstream.yml
crypto/openssh/ChangeLog
crypto/openssh/Makefile.in
crypto/openssh/README
crypto/openssh/README.md
crypto/openssh/auth-pam.c
crypto/openssh/auth-shadow.c
crypto/openssh/auth.c
crypto/openssh/auth2-hostbased.c
crypto/openssh/auth2-none.c
crypto/openssh/auth2-pubkey.c
crypto/openssh/auth2-pubkeyfile.c
crypto/openssh/auth2.c
crypto/openssh/authfd.c
crypto/openssh/authfile.c
crypto/openssh/canohost.c
crypto/openssh/channels.c
crypto/openssh/channels.h
crypto/openssh/clientloop.c
crypto/openssh/compat.c
crypto/openssh/compat.h
crypto/openssh/contrib/redhat/openssh.spec
crypto/openssh/contrib/suse/openssh.spec
crypto/openssh/dispatch.c
crypto/openssh/dns.c
crypto/openssh/dns.h
crypto/openssh/hostfile.c
crypto/openssh/kex.c
crypto/openssh/kex.h
crypto/openssh/kexgexs.c
crypto/openssh/krl.c
crypto/openssh/misc.c
crypto/openssh/misc.h
crypto/openssh/moduli.c
crypto/openssh/monitor.c
crypto/openssh/mux.c
crypto/openssh/openbsd-compat/bsd-getentropy.c
crypto/openssh/openbsd-compat/bsd-snprintf.c
crypto/openssh/openbsd-compat/getopt.h
crypto/openssh/openbsd-compat/getopt_long.c
crypto/openssh/openbsd-compat/getrrsetbyname.c
crypto/openssh/openbsd-compat/libressl-api-compat.c
crypto/openssh/openbsd-compat/mktemp.c
crypto/openssh/openbsd-compat/openbsd-compat.h
crypto/openssh/packet.c
crypto/openssh/progressmeter.c
crypto/openssh/readconf.c
crypto/openssh/regress/Makefile
crypto/openssh/regress/agent-getpeereid.sh
crypto/openssh/regress/agent-restrict.sh
crypto/openssh/regress/agent.sh
crypto/openssh/regress/dhgex.sh
crypto/openssh/regress/integrity.sh
crypto/openssh/regress/keygen-sshfp.sh
crypto/openssh/regress/knownhosts.sh
crypto/openssh/regress/multiplex.sh
crypto/openssh/regress/sshd-log-wrapper.sh [deleted file]
crypto/openssh/regress/test-exec.sh
crypto/openssh/regress/timestamp.c [new file with mode: 0644]
crypto/openssh/regress/unittests/kex/test_proposal.c
crypto/openssh/regress/unittests/kex/tests.c
crypto/openssh/regress/unittests/misc/test_ptimeout.c
crypto/openssh/sandbox-seccomp-filter.c
crypto/openssh/scp.c
crypto/openssh/servconf.c
crypto/openssh/serverloop.c
crypto/openssh/session.c
crypto/openssh/sftp-client.c
crypto/openssh/sftp-server.c
crypto/openssh/sftp.c
crypto/openssh/ssh-add.c
crypto/openssh/ssh-agent.c
crypto/openssh/ssh-dss.c
crypto/openssh/ssh-ecdsa-sk.c
crypto/openssh/ssh-ecdsa.c
crypto/openssh/ssh-keygen.1
crypto/openssh/ssh-keygen.c
crypto/openssh/ssh-keyscan.1
crypto/openssh/ssh-keyscan.c
crypto/openssh/ssh-pkcs11.c
crypto/openssh/ssh-rsa.c
crypto/openssh/ssh.c
crypto/openssh/ssh_config
crypto/openssh/ssh_config.5
crypto/openssh/ssh_namespace.h
crypto/openssh/sshconnect.c
crypto/openssh/sshconnect2.c
crypto/openssh/sshd.8
crypto/openssh/sshd.c
crypto/openssh/sshd_config
crypto/openssh/sshd_config.5
crypto/openssh/umac.c
crypto/openssh/version.h
secure/lib/libssh/Makefile