Red Hat Bugzilla – Bug 165680
CVE-2005-2458 gzip/zlib flaws
Last modified: 2007-11-30 17:07:08 EST
+++ This bug was initially created as a clone of Bug #165679 +++
Tim Yamin from Gentoo noticed that some older security related bugs in the
decompression code had not been fixed in the kernel. This is fairly minor as
there are few places where the kernel decompresses arbitrary data. However it
could be a problem for things like zisofs (if someone mounts a malicious
filesystem), perhaps cslip or ppp too).
Fix for 2.6 is here, pretty much identical for 2.4:
(See bug noted above for private reproducers)
PeterS, it isn't immediately clear to me how the affected code can even be
invoked on RHEL3. If it can't, then this should be closed as WONTFIX.
Otherwise, I think we should make sure that a fix gets into U7.
Don, please read my comment #1, which might be relevant to whether
you'd consider fixing this in RHEL2.1/RHEL2.1-IPF.
Created attachment 117766 [details]
Sergey Vlasov has done some analysis on these issues and discovered that the
changes in file lib/zlib_inflate/inftrees.c are incorrect and in fact are not
needed. Gentoo have agreed and therefore from the patch above please ignore the
lib/zlib_inflate/inftrees.c hunk. This means that CAN-2005-2549 is dropped, but
CAN-2005-2548 still applies.
Actually, those references should be for CAN-2005-2459 and CAN-2005-2458.
Created attachment 119613 [details]
A fix for this problem has just been committed to the RHEL3 U7
patch pool this evening (in kernel version 2.4.21-37.8.EL).
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.