OpenSSH Security Advisory (adv.channelalloc)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Cc: <BUGTRAQ@...>, <misc@...>, <lwn@...>
Date: Thursday, March 7, 2002 - 7:56 am

1. Systems affected:

All versions of OpenSSH between 2.0 and 3.0.2 contain
an off-by-one error in the channel code.

OpenSSH 3.1 and later are not affected.

2. Impact:

This bug can be exploited locally by an authenticated user
logging into a vulnerable OpenSSH server or by a malicious
SSH server attacking a vulnerable OpenSSH client.

3. Solution:

Upgrade to OpenSSH 3.1 or apply the following patch.

4. Credits:

This bug was discovered by Joost Pol

Appendix:

Index: channels.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/channels.c,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -r1.170 -r1.171
--- channels.c 27 Feb 2002 21:23:13 -0000 1.170
+++ channels.c 4 Mar 2002 19:37:58 -0000 1.171
@@ -146,7 +146,7 @@
{
Channel *c;

- if (id < 0 || id > channels_alloc) {
+ if (id < 0 || id >= channels_alloc) {
log("channel_lookup: %d: bad id", id);
return NULL;
}

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OpenBSD 3.6 pre-orders are activated, Todd C. Miller, (Thu Aug 26, 6:38 pm)
OpenBSD 3.4 End Of Life, Robert Nagy, (Sat Oct 30, 7:35 pm)
Announce: OpenSSH 4.3 released, Damien Miller, (Wed Feb 1, 8:30 am)
Announce: OpenSSH 4.5 released, Damien Miller, (Tue Nov 7, 2:40 pm)
Revised: OpenSSH security advisory: cbc.adv, Damien Miller, (Sun Nov 23, 5:58 pm)
Announce: OpenSSH 5.0 released, Damien Miller, (Thu Apr 3, 6:48 am)
OpenBSD 4.2 released Nov 1, 2007, Theo de Raadt, (Wed Oct 31, 10:16 pm)
OpenSSH Security Advisory (adv.channelalloc), Markus Friedl, (Thu Mar 7, 7:56 am)
4.6-stable ports, William Yodlowsky, (Wed Oct 21, 11:05 pm)
OpenBSD 3.1 Released!, Todd C. Miller, (Sun May 19, 5:03 pm)
Upcoming OpenSSH vulnerability, Theo de Raadt, (Mon Jun 24, 5:00 pm)
OpenSSH 3.6.1 released, Markus Friedl, (Tue Apr 1, 4:21 pm)
BSDCon Wiki Site, Nik Clayton, (Wed Sep 3, 2:21 pm)