Opened 18 years ago
Closed 18 years ago
#2205 closed defect (fixed)
Unzip-5.52 Vulnerability
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 6.2.0 |
Component: | BOOK | Version: | SVN |
Severity: | critical | Keywords: | |
Cc: |
Description
From the info zip web site:
"The Unix port of UnZip 5.52 is reported to have a race-condition vulnerability, whereby a local attacker could change the permissions of the user's files during unpacking. (This has been assigned CVE #CAN-2005-2475.) "
Most locations have pulled the 5.52 sources, but they are still on anduin.
A warning needs to be put into the book until a new version is released.
Attachments (1)
Change History (7)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
I didn't receive email notification about this ticket (specifically Dan's answer),so I did some research and it looks that it was reported by Oliver Brakmann in our security mailing list back in february.
Here is the link with an attached patch which fixes also another vulnerability. http://linuxfromscratch.org/pipermail/lfs-security/2006-February/001436.html
by , 18 years ago
Attachment: | unzip-5.52-security_fix-1.patch added |
---|
unzip-5.52-security_fix-1.patch
comment:3 by , 18 years ago
The aforementioned (attached) patch it doesn't break the patch [1] that is mentioned by Alexander in the unzip page,which also applies with some offsets.
comment:4 by , 18 years ago
Type: | task → defect |
---|
comment:5 by , 18 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:6 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added security patch at revision 6398. Used the patch submitted by Ag Hatzim.
I've been meaning to report this for a long time. There are numerous reported vulnerabilities on unzip. But here's a patch for CAN-2005-2475:
http://people.ubuntu.com/patches/unzip.CAN-2005-2475.diff
This is the same as what fedora is applying:
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/unzip/unzip-5.52-toctou.patch
There's also a beta version of unzip-6.0 if we really want to be aggressive.
http://downloads.sourceforge.net/infozip/unzip60c.zip
It also could be a good idea to just apply debian's whole current diff as it has a few other CVE's.
http://ftp.debian.org/pool/main/u/unzip/unzip_5.52-9.diff.gz