[Bug 1903516] Please test proposed package
Brian Murray
1903516 at bugs.launchpad.net
Tue Apr 12 23:05:16 UTC 2022
Hello Bert, or anyone else affected,
Accepted openssh into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/openssh/1:8.2p1-4ubuntu0.5 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: openssh (Ubuntu Bionic)
Status: In Progress => Fix Committed
** Tags added: verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1903516
Title:
aborted (core dumped) when using ConnectTimeout > 2147483
Status in portable OpenSSH:
Unknown
Status in openssh package in Ubuntu:
Fix Released
Status in openssh source package in Bionic:
Fix Committed
Status in openssh source package in Focal:
Fix Committed
Status in openssh source package in Impish:
Fix Committed
Status in openssh source package in Jammy:
Fix Released
Bug description:
[Impact]
Setting ConnectTimeout to a value higher than INT_MAX/1000 causes the
ssh client to crash. This happens due to an integer overflow which was
fixed upstream with the patch being proposed for this SRU, which caps
the effective value for that option at INT_MAX/1000.
While use cases triggering the bug may be uncommon, the patch is
straightforward and the fix could be staged for the next time an
upload is needed.
[Test Plan]
Running
ssh -o "ConnectTimeout=$(perl -e 'use POSIX; my $max =
int(POSIX::INT_MAX/1000)+1; print "$max\n";')" localhost
triggers the error. In this case, the ssh client will crash and
Aborted
will be printed to stderr.
By applying the proposed fix, running the same command should allow
the ssh connection to proceed to the authentication steps.
[Where problems could occur]
Most problems would manifest due to rebuilding the package (e.g.,
dependency changes). Since this proposal is to stage these SRUs, such
risk is being deferred to be shared with the next, more critical,
upload.
[Other Info]
All the SRUs proposed here should be staged due to the low priority nature of the bug.
[Original bug report]
The ssh client fails with the message "Aborted (core dumped)" when
setting the ConnectTimeout to 2147484 or higher.
lsb_release: Linux Mint 20 (but also tested this on latest ubuntu:20.04 docker container)
openssh-client version: 1:8.2p1-4ubuntu0.1
I expected that either the connect timeout would be used correctly, or
that it would fail with a proper error message saying the connect
timeout can't be higher than 2147483.
What happened:
$ ssh -o "ConnectTimeout=2147484" localhost
Aborted (core dumped)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1903516/+subscriptions
More information about the foundations-bugs
mailing list