[openssh-commits] [openssh] branch master updated (4fb278a52 -> baffa08fd)

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Nov 26 10:20:45 AEDT 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a change to branch master
in repository openssh.

    from 4fb278a52 don't kill already-reaped kbdint PAM subprocess
     new 3ae36fb67 upstream: use fmprintf() to escape banner printed as comment in
     new 3d5fabfec upstream: when performing a remote-to-local recursive copy from a
     new 8d51a6f3d upstream: destroy the kerberos ticket cache with user rather than
     new a68166f62 upstream: Record authentication attempts earlier in server
     new dd239d7ba upstream: when doing a `sftp -r host:`, verify the host returns a
     new f91468b59 upstream: have sshbuf_read_fd() pre-allocate its sshbuf using the
     new ca22af23d upstream: use the remote address returned from accept(2) for
     new 00a050073 upstream: ratelimit logs arising from authorized_keys, etc
     new a342b8bde upstream: clamp amount of auth_debug data that we'll buffer for
     new 9778f4010 upstream: in olde-RCP protocol mode, don't allow embedded
     new 1d6becc7d upstream: reserve 32 fds that forwardings are not allowed to use
     new de9d07509 upstream: limit the number and total size of packets that we will
     new 9e4fbc604 upstream: run local sftp "lls" command using
     new baffa08fd upstream: fix -Wuninitialized from previous

The 14 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit baffa08fdc958ebfea9b57d1fda56d7aa3320422
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 23:17:47 2026 +0000

    upstream: fix -Wuninitialized from previous
    
    OpenBSD-Commit-ID: b02772d7e0678a86cb6934823d35ec2c3080bff8

commit 9e4fbc60413b28b6152989ea7db0bf3c41d52d3f
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 22:58:30 2026 +0000

    upstream: run local sftp "lls" command using
    
    makeargv()+glob()+exec rather than system(); avoids situation where a user
    could do a tab expansion in a directory with adversarial content and end up
    executing a commandline with backticks, etc in it
    
    Anthropic ANT-2026-QFGM82BB
    
    OpenBSD-Commit-ID: c54d801d0a3e51cbd6756eee45f1a0d207bbb8d1

commit de9d075097d49ec88cad09b17d066efb2ac79f29
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 22:14:23 2026 +0000

    upstream: limit the number and total size of packets that we will
    
    queue while KEX is running. Avoids possible DoS when KEX stalls and local
    processes continue generating channel data for too long
    
    Anthropic ANT-2026-Q1334JFN but with a separate threshold after which
    the channels stop producing packets too
    
    OpenBSD-Commit-ID: d56090cde7758a5623828ad7428b4b27556f8cc6

commit 1d6becc7d6c799c28bf0f984914e7ffcc8b15027
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 21:53:11 2026 +0000

    upstream: reserve 32 fds that forwardings are not allowed to use
    
    avoids fd exhaustion causing a mux socket from being accessible
    for control messages.
    
    Anthropic ANT-2026-P86OLVI7
    
    OpenBSD-Commit-ID: 62946d067dfe3b3a419dc931f35a39cd93b6a92d

commit 9778f4010c2595e02785f3f67af6b63996c622d9
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 21:21:51 2026 +0000

    upstream: in olde-RCP protocol mode, don't allow embedded
    
    newlines to corrupt control messages
    
    Anthropic ANT-2026-O6FX9NNV
    
    OpenBSD-Commit-ID: 5cb7a91bef842a53451ef260a3ac2a8e24ec0c67

commit a342b8bded242399973662da2d5093b206a3bd3a
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 21:16:32 2026 +0000

    upstream: clamp amount of auth_debug data that we'll buffer for
    
    the user to 64Kb, which ought to be enough for everyone.
    
    Anthropic ANT-2026-O6FX9NNV
    
    OpenBSD-Commit-ID: 1278008b5fc3fb279efc81334cf127e62649da02

commit 00a050073d48fa93c3f99f0d43445bd6a4f90a59
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 21:16:04 2026 +0000

    upstream: ratelimit logs arising from authorized_keys, etc
    
    Anthropic ANT-2026-O6FX9NNV
    
    OpenBSD-Commit-ID: da9a5f2a3f3e44dc8670f05ee2c0266ec69b6500

commit ca22af23dfdf08800224608fce4738612a8cf7c6
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 21:08:49 2026 +0000

    upstream: use the remote address returned from accept(2) for
    
    PerSourcePenalties rather than doing an explicit getpeername(2) lookup later.
    
    Avoids very minor PerSourcePenalties bypass, where the peer connects,
    does nothing and then disconnects before getpeername() has a chance
    to complete. Also saves a syscall.
    
    Anthropic ANT-2026-MFL5Y7HK
    
    OpenBSD-Commit-ID: 130e249330f10182752b237020092a5489ba46e9

commit f91468b59ab803fa2740b5fadba76857214876db
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 21:02:17 2026 +0000

    upstream: have sshbuf_read_fd() pre-allocate its sshbuf using the
    
    size we got from fstat()
    
    Anthropic ANT-2026-LVH1585F
    
    OpenBSD-Commit-ID: ae795b2c803eab1e42fe56cf8e99ac0e7307d657

commit dd239d7ba7dbb84268ddc8952d3ac891f7bab982
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 20:48:31 2026 +0000

    upstream: when doing a `sftp -r host:`, verify the host returns a
    
    directory and not a filename. Avoids another local file clobber.
    
    Anthropic ANT-2026-KVP4Z2O3
    
    OpenBSD-Commit-ID: d33b58bf3c73fe64d2ff699b2ec2d1087d49e76e

commit a68166f62521b52cb84b536bbc82365eee0f1f3b
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 20:42:32 2026 +0000

    upstream: Record authentication attempts earlier in server
    
    lifecycle and change precedence of exit values used to signal server state.
    
    Closes weak username validity oracle via PerSourcePenalties, that was
    fairly aggressively rate-limited in the default config.
    
    Anthropic ANT-2026-KQAHPGQP
    
    OpenBSD-Commit-ID: 84870145b42f5a6617cba5acc61fd4bc0012a648

commit 8d51a6f3d933f85ceeaf68a4a4e9ab832c354c4a
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 20:07:42 2026 +0000

    upstream: destroy the kerberos ticket cache with user rather than
    
    root privileges. Avoids symlink tricks in shared directories
    
    Anthropic ANT-2026-JFAJSWS7
    
    OpenBSD-Commit-ID: 8a250bf4e30674811a456d91f3218bf2bf6c1f5d

commit 3d5fabfec7c18c75b2b719ea74ba4326df8d8ff4
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 20:02:49 2026 +0000

    upstream: when performing a remote-to-local recursive copy from a
    
    ~user path, trust the server to expand only the directory component and not
    the file component. Avoids a hostile server picking unwanted filenames
    
    Anthropic ANT-2026-JD513QS2
    
    OpenBSD-Commit-ID: a460f5b3b7420a28090fd9e47344e265024bfcf4

commit 3ae36fb673a3c44b36f289b8b1050acd80481e18
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Nov 25 17:08:58 2026 +0000

    upstream: use fmprintf() to escape banner printed as comment in
    
    ssh-keyscan.
    
    Avoids untrusted control characters from hostile servers being exposed
    directly to one's terminal.
    
    Anthropic ANT-2026-JC84JZBB
    
    OpenBSD-Commit-ID: c64eb6e1cd45dd21a484c5ca6f1c2fe6c18ed64f

Summary of changes:
 auth-krb5.c        |  4 ++-
 auth.c             | 14 +++++---
 auth2-pubkeyfile.c | 49 ++++++++++++++++++++++++----
 channels.c         | 59 +++++++++++++++++++++++++++------
 monitor.c          |  3 +-
 packet.c           | 42 +++++++++++++++++++++++-
 packet.h           |  3 +-
 scp.c              | 93 ++++++++++++++++++++++++++++++++++++++++++++--------
 serverloop.c       |  6 ++--
 sftp.c             | 96 ++++++++++++++++++++++++++++++++++++++++++++----------
 srclimit.c         | 30 +++++------------
 srclimit.h         |  4 +--
 ssh-keygen.c       |  6 ++--
 ssh-keyscan.c      |  5 +--
 sshbuf-io.c        |  5 ++-
 sshd-session.c     | 13 +++++---
 sshd.c             | 32 +++++++++++-------
 17 files changed, 360 insertions(+), 104 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list