summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2023-48795-buster.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/CVE-2023-48795-buster.patch')
-rw-r--r--debian/patches/CVE-2023-48795-buster.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/CVE-2023-48795-buster.patch b/debian/patches/CVE-2023-48795-buster.patch
new file mode 100644
index 0000000..6a53c5d
--- /dev/null
+++ b/debian/patches/CVE-2023-48795-buster.patch
@@ -0,0 +1,12 @@
+Index: openssh/kex.c
+===================================================================
+--- openssh.orig/kex.c
++++ openssh/kex.c
+@@ -630,6 +630,7 @@ kex_new(struct ssh *ssh, char *proposal[
+ }
+ if ((r = kex_prop2buf(kex->my, proposal)) != 0)
+ goto out;
++ kex->flags = KEX_INITIAL;
+ kex->done = 0;
+ kex_reset_dispatch(ssh);
+ ssh_dispatch_set(ssh, SSH2_MSG_KEXINIT, &kex_input_kexinit);