]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream commit
authordjm@openbsd.org <djm@openbsd.org>
Wed, 28 Sep 2016 16:33:06 +0000 (16:33 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 28 Sep 2016 17:11:32 +0000 (03:11 +1000)
commit0082fba4efdd492f765ed4c53f0d0fbd3bdbdf7f
treeb0271896ec4d6c0e716821954212677438824a05
parent27c3a9c2aede2184856b5de1e6eca414bb751c38
upstream commit

Remove support for pre-authentication compression. Doing
compression early in the protocol probably seemed reasonable in the 1990s,
but today it's clearly a bad idea in terms of both cryptography (cf. multiple
compression oracle attacks in TLS) and attack surface.

Moreover, to support it across privilege-separation zlib needed
the assistance of a complex shared-memory manager that made the
required attack surface considerably larger.

Prompted by Guido Vranken pointing out a compiler-elided security
check in the shared memory manager found by Stack
(http://css.csail.mit.edu/stack/); ok deraadt@ markus@

NB. pre-auth authentication has been disabled by default in sshd
for >10 years.

Upstream-ID: 32af9771788d45a0779693b41d06ec199d849caf
13 files changed:
Makefile.in
monitor.c
monitor.h
monitor_mm.c [deleted file]
monitor_mm.h [deleted file]
monitor_wrap.h
myproposal.h
opacket.h
packet.c
packet.h
servconf.c
sshconnect2.c
sshd.c