git: e3e0912f2977 - releng/13.3 - openssh: Fix pre-authentication remote code execution in sshd.

From: Philip Paeps <philip_at_FreeBSD.org>
Date: Mon, 01 Jul 2024 08:27:10 UTC
The branch releng/13.3 has been updated by philip:

URL: https://cgit.FreeBSD.org/src/commit/?id=e3e0912f29771deed47955c36d38a8eb88ae32e0

commit e3e0912f29771deed47955c36d38a8eb88ae32e0
Author:     Philip Paeps <philip@FreeBSD.org>
AuthorDate: 2024-07-01 08:20:01 +0000
Commit:     Philip Paeps <philip@FreeBSD.org>
CommitDate: 2024-07-01 08:26:49 +0000

    openssh: Fix pre-authentication remote code execution in sshd.
    
    Reported by:    Qualys Threat Research Unit (TRU)
    Approved by:    so
    Security:       FreeBSD-SA-24:04.openssh
    Security:       CVE-2024-6387
    
    (cherry picked from commit 2abea9df01655633aabbb9bf3204c90722001202)
    (cherry picked from commit 25cf430cd551158135ef6f0c1aadf273ff3430c9)
---
 crypto/openssh/log.c     | 2 ++
 crypto/openssh/version.h | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/crypto/openssh/log.c b/crypto/openssh/log.c
index 9fc1a2e2eaf6..436c75630181 100644
--- a/crypto/openssh/log.c
+++ b/crypto/openssh/log.c
@@ -451,12 +451,14 @@ void
 sshsigdie(const char *file, const char *func, int line, int showfunc,
     LogLevel level, const char *suffix, const char *fmt, ...)
 {
+#if 0
 	va_list args;
 
 	va_start(args, fmt);
 	sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
 	    suffix, fmt, args);
 	va_end(args);
+#endif
 	_exit(1);
 }
 
diff --git a/crypto/openssh/version.h b/crypto/openssh/version.h
index 6b7067e19f8b..3e99bca450b1 100644
--- a/crypto/openssh/version.h
+++ b/crypto/openssh/version.h
@@ -5,4 +5,4 @@
 #define SSH_PORTABLE	"p1"
 #define SSH_RELEASE	SSH_VERSION SSH_PORTABLE
 
-#define SSH_VERSION_FREEBSD	"FreeBSD-20240104"
+#define SSH_VERSION_FREEBSD	"FreeBSD-20240701"