Skip to content
Snippets Groups Projects
Commit e02b04a0 authored by Rocky Automation's avatar Rocky Automation :tv:
Browse files

import imports/r9/openssh-8.7p1-34.3.el9_3.security.0.3

parent 155ac55b
No related branches found
No related tags found
No related merge requests found
diff -ur openssh-8.7p1-34.el9_3.3-tree.orig/readconf.c openssh-8.7p1-34.el9_3.3-tree/readconf.c
--- openssh-8.7p1-34.el9_3.3-tree.orig/readconf.c 2024-03-16 21:52:13.434915561 +0100
+++ openssh-8.7p1-34.el9_3.3-tree/readconf.c 2024-03-16 22:14:02.938740770 +0100
@@ -225,7 +225,8 @@
{ "gssapiclientidentity", oUnsupported },
{ "gssapiserveridentity", oUnsupported },
{ "gssapirenewalforcesrekey", oUnsupported },
- { "gssapikexalgorithms", oUnsupported },
+ /* Found in /etc/crypto-policies/back-ends/openssh.config, silently ignore */
+ { "gssapikexalgorithms", oIgnore },
#endif
#ifdef ENABLE_PKCS11
{ "pkcs11provider", oPKCS11Provider },
diff -ur openssh-8.7p1-34.el9_3.3-tree.orig/servconf.c openssh-8.7p1-34.el9_3.3-tree/servconf.c
--- openssh-8.7p1-34.el9_3.3-tree.orig/servconf.c 2024-03-16 21:52:13.435915524 +0100
+++ openssh-8.7p1-34.el9_3.3-tree/servconf.c 2024-03-16 22:13:18.963357857 +0100
@@ -640,7 +640,8 @@
{ "gssapistrictacceptorcheck", sUnsupported, SSHCFG_GLOBAL },
{ "gssapikeyexchange", sUnsupported, SSHCFG_GLOBAL },
{ "gssapistorecredentialsonrekey", sUnsupported, SSHCFG_GLOBAL },
- { "gssapikexalgorithms", sUnsupported, SSHCFG_GLOBAL },
+ /* Found in /etc/crypto-policies/back-ends/opensshserver.config, silently ignore */
+ { "gssapikexalgorithms", sIgnore, SSHCFG_GLOBAL },
{ "gssapienablek5users", sUnsupported, SSHCFG_ALL },
#endif
{ "gssusesessionccache", sUnsupported, SSHCFG_GLOBAL },
diff -ur openssh-8.7p1-34.el9_3.3-tree.orig/ssh_config_redhat openssh-8.7p1-34.el9_3.3-tree/ssh_config_redhat
--- openssh-8.7p1-34.el9_3.3-tree.orig/ssh_config_redhat 2024-03-16 21:52:13.240922699 +0100
+++ openssh-8.7p1-34.el9_3.3-tree/ssh_config_redhat 2024-03-16 21:56:20.219834357 +0100
@@ -4,7 +4,8 @@
# Follow system-wide Crypto Policy, if defined:
Include /etc/crypto-policies/back-ends/openssh.config
- GSSAPIAuthentication yes
+# Kerberos/GSSAPI is supported in upstream EL, but unsupported in this build
+# GSSAPIAuthentication yes
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
diff -ur openssh-8.7p1-34.el9_3.3-tree.orig/sshd_config_redhat openssh-8.7p1-34.el9_3.3-tree/sshd_config_redhat
--- openssh-8.7p1-34.el9_3.3-tree.orig/sshd_config_redhat 2024-03-16 21:52:13.241922663 +0100
+++ openssh-8.7p1-34.el9_3.3-tree/sshd_config_redhat 2024-03-16 21:56:51.919667866 +0100
@@ -9,8 +9,9 @@
ChallengeResponseAuthentication no
-GSSAPIAuthentication yes
-GSSAPICleanupCredentials no
+# Kerberos/GSSAPI is supported in upstream EL, but unsupported in this build
+#GSSAPIAuthentication yes
+#GSSAPICleanupCredentials no
UsePAM yes
......@@ -54,7 +54,7 @@
%global openssh_rel 34.3
%global pam_ssh_agent_ver 0.10.4
%global pam_ssh_agent_rel 5
%global security_rel 0.2
%global security_rel 0.3
Summary: An open source implementation of SSH protocol version 2
Name: openssh
......@@ -289,6 +289,7 @@ Patch1018: openssh-9.6p1-CVE-2023-48795.patch
Patch1019: openssh-9.6p1-CVE-2023-51385.patch
Patch9000: openssh-8.7p1-rocky-systemd.patch
Patch9001: openssh-8.7p1-rocky-no-gssapi.patch
License: BSD
Requires: /sbin/nologin
......@@ -513,6 +514,7 @@ popd
%patch1019 -p1 -b .cve-2023-51385
%patch9000 -p1 -b .rocky-systemd
%patch9001 -p1 -b .rocky-no-gssapi
autoreconf
pushd pam_ssh_agent_auth-pam_ssh_agent_auth-%{pam_ssh_agent_ver}
......@@ -799,6 +801,11 @@ test -f %{sysconfig_anaconda} && \
%endif
%changelog
* Sat Mar 16 2024 Solar Designer <solar@openwall.com> 8.7p1-34.3.el9_3.security.0.3
- Comment out GSSAPI* lines in /etc/ssh/ssh*_config.d/50-redhat.conf and patch
the code to silently ignore GSSAPIKexAlgorithms when unsupported (like it is
in our new without-Kerberos build)
* Mon Mar 11 2024 Solar Designer <solar@openwall.com> 8.7p1-34.3.el9_3.security.0.2
- Rebase 8.7p1-34.el9_3.security.0.1 on 8.7p1-34.3
- Build without Kerberos support (shortens "ldd sshd" from 20 to 13 lines)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment