Your message dated Sat, 07 Oct 2023 12:41:28 +0100 with message-id <84bb5ff8312f749ebe536897993782bf35aa1977.camel@adam-barratt.org.uk> and subject line Closing opu requests for updates included in 11.8 has caused the Debian Bug report #1007950, regarding bullseye-pu: package tinyssh/20190101-1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1007950: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007950 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: bullseye-pu: package tinyssh/20190101-1
- From: Jan Mojzis <jan.mojzis@gmail.com>
- Date: Sat, 19 Mar 2022 09:09:24 +0100
- Message-id: <164767736279.1640921.5552273780258354058.reportbug@dev.h.mojzis.com>
Package: release.debian.org Severity: normal Tags: bullseye User: release.debian.org@packages.debian.org Usertags: pu After upgrade openssh client from 8.8 to 8.9 rejects tinyssh connections. [ Reason ] Tinyssh has very strict packet_length checking and when client doesn't horor max. packet lenght, closes the connection. [ Impact ] Using new openss client 8.9 stoped tinyssh working, rejects all connections. [ Tests ] The bug was catched by autopkgtest e.g. here: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/t/tinyssh/20220226_180547_e244f@/log.gz And can be triggered manually using 2 versions openssh: ~~~ openssh-8.8p1# ./ssh test@127.0.0.1 "cat >/tmp/testfile2" < /tmp/testfile1 && echo OK || echo BAD OK openssh-8.9p1# ./ssh test@127.0.0.1 "cat >/tmp/testfile2" < /tmp/testfile1 && echo OK || echo BAD client_loop: send disconnect: Broken pipe BAD ~~~ After fix: ~~~ openssh-8.9p1# ./ssh test@127.0.0.1 "cat >/tmp/testfile2" < /tmp/testfile1 && echo OK || echo BAD OK ~~~ [ Risks ] Patch is trivial. And already applied in ubuntu: http://launchpadlibrarian.net/590133636/tinyssh_20190101-1build1_20190101-1ubuntu1.diff.gz [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable diff -Nru tinyssh-20190101/debian/changelog tinyssh-20190101/debian/changelog --- tinyssh-20190101/debian/changelog 2019-01-02 06:01:58.000000000 +0100 +++ tinyssh-20190101/debian/changelog 2022-03-19 08:28:29.000000000 +0100 @@ -1,3 +1,10 @@ +tinyssh (20190101-1+deb11u1) bullseye; urgency=medium + + * Workaround for incoming packets that doesn't honor + the max. packet length (Closes: 1006801) + + -- Jan Mojžíš <jan.mojzis@gmail.com> Sat, 19 Mar 2022 08:28:29 +0100 + tinyssh (20190101-1) unstable; urgency=medium * d/tests - added 03exitcodes test, it creates ssh connection, exits diff -Nru tinyssh-20190101/debian/patches/series tinyssh-20190101/debian/patches/series --- tinyssh-20190101/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ tinyssh-20190101/debian/patches/series 2022-03-19 08:28:29.000000000 +0100 @@ -0,0 +1 @@ +workaround-1006801-packet-length.patch diff -Nru tinyssh-20190101/debian/patches/workaround-1006801-packet-length.patch tinyssh-20190101/debian/patches/workaround-1006801-packet-length.patch --- tinyssh-20190101/debian/patches/workaround-1006801-packet-length.patch 1970-01-01 01:00:00.000000000 +0100 +++ tinyssh-20190101/debian/patches/workaround-1006801-packet-length.patch 2022-03-19 08:28:29.000000000 +0100 @@ -0,0 +1,24 @@ +From: Jan Mojzis <jan.mojzis@gmail.com> +Date: Sat, 19 Mar 2022 08:36:48 +0100 +Origin: https://github.com/janmojzis/tinyssh/commit/0613ae9ef2fbac88522c8312456fb64d14020597 +Subject: Workaround for incoming packets that doesn't honor + the max. packet length + +Index: tinyssh-20190101/tinyssh/packet_channel_open.c +=================================================================== +--- tinyssh-20190101.orig/tinyssh/packet_channel_open.c ++++ tinyssh-20190101/tinyssh/packet_channel_open.c +@@ -49,7 +49,12 @@ int packet_channel_open(struct buf *b1, + buf_putnum32(b2, id); /* uint32 recipient channel */ + buf_putnum32(b2, id); /* uint32 sender channel */ + buf_putnum32(b2, localwindow); /* uint32 initial window size */ +- buf_putnum32(b2, PACKET_LIMIT); /* uint32 maximum packet size */ ++ /* ++ XXX ++ use PACKET_LIMIT/2 as maximum packet size, ++ workaround for miscalculated packet_length ++ */ ++ buf_putnum32(b2, PACKET_LIMIT / 2); /* uint32 maximum packet size */ + packet_put(b2); + buf_purge(b2); + return 1;
--- End Message ---
--- Begin Message ---
- To: 1007787-done@bugs.debian.org, 1007950-done@bugs.debian.org, 1013893-done@bugs.debian.org, 1028992-done@bugs.debian.org, 1032299-done@bugs.debian.org, 1034510-done@bugs.debian.org, 1034713-done@bugs.debian.org, 1034714-done@bugs.debian.org, 1034736-done@bugs.debian.org, 1035046-done@bugs.debian.org, 1035059-done@bugs.debian.org, 1035105-done@bugs.debian.org, 1035304-done@bugs.debian.org, 1035311-done@bugs.debian.org, 1035464-done@bugs.debian.org, 1035475-done@bugs.debian.org, 1035522-done@bugs.debian.org, 1035683-done@bugs.debian.org, 1035924-done@bugs.debian.org, 1036043-done@bugs.debian.org, 1036044-done@bugs.debian.org, 1036046-done@bugs.debian.org, 1036182-done@bugs.debian.org, 1036240-done@bugs.debian.org, 1036300-done@bugs.debian.org, 1036314-done@bugs.debian.org, 1036797-done@bugs.debian.org, 1036811-done@bugs.debian.org, 1036976-done@bugs.debian.org, 1037054-done@bugs.debian.org, 1037175-done@bugs.debian.org, 1037182-done@bugs.debian.org, 1037187-done@bugs.debian.org, 1037196-done@bugs.debian.org, 1037214-done@bugs.debian.org, 1037236-done@bugs.debian.org, 1038153-done@bugs.debian.org, 1038451-done@bugs.debian.org, 1038813-done@bugs.debian.org, 1038943-done@bugs.debian.org, 1039020-done@bugs.debian.org, 1039040-done@bugs.debian.org, 1039470-done@bugs.debian.org, 1039708-done@bugs.debian.org, 1039738-done@bugs.debian.org, 1039854-done@bugs.debian.org, 1039860-done@bugs.debian.org, 1039994-done@bugs.debian.org, 1040137-done@bugs.debian.org, 1040668-done@bugs.debian.org, 1040677-done@bugs.debian.org, 1040758-done@bugs.debian.org, 1040865-done@bugs.debian.org, 1040930-done@bugs.debian.org, 1040950-done@bugs.debian.org, 1041397-done@bugs.debian.org, 1041475-done@bugs.debian.org, 1042057-done@bugs.debian.org, 1043270-done@bugs.debian.org, 1049374-done@bugs.debian.org, 1050044-done@bugs.debian.org, 1050119-done@bugs.debian.org, 1050121-done@bugs.debian.org, 1050332-done@bugs.debian.org, 1050333-done@bugs.debian.org, 1050538-done@bugs.debian.org, 1050573-done@bugs.debian.org, 1050638-done@bugs.debian.org, 1051051-done@bugs.debian.org, 1051339-done@bugs.debian.org, 1051508-done@bugs.debian.org, 1051884-done@bugs.debian.org, 1051902-done@bugs.debian.org, 1051937-done@bugs.debian.org, 1052027-done@bugs.debian.org, 1052082-done@bugs.debian.org, 1052150-done@bugs.debian.org, 1052222-done@bugs.debian.org, 1052288-done@bugs.debian.org, 1052363-done@bugs.debian.org, 1052402-done@bugs.debian.org, 1052420-done@bugs.debian.org, 1052552-done@bugs.debian.org, 1052611-done@bugs.debian.org, 1053177-done@bugs.debian.org, 1053220-done@bugs.debian.org, 1053240-done@bugs.debian.org, 1053270-done@bugs.debian.org, 1053271-done@bugs.debian.org, 1053290-done@bugs.debian.org, 1053522-done@bugs.debian.org
- Subject: Closing opu requests for updates included in 11.8
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 07 Oct 2023 12:41:28 +0100
- Message-id: <84bb5ff8312f749ebe536897993782bf35aa1977.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 11.8 Hi, The updates referred to by each of these requests were included in today's 11.8 bullseye point release. Regards, Adam
--- End Message ---