First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 171441
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pierre-Yves Rofes <py@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 171441 depends on: Show dependency tree
Bug 171441 blocks: 237202

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-19 13:32 0000
a vulnerability has been reported in ZZIPlib Library, which potentially can be
exploited by malicious people to gain escalated privileges or compromise a
vulnerable system.

The vulnerability is caused due to a boundary error in "zzip_open_shared_io()"
within zzip/file.c when processing arguments. This can be exploited to cause a
stack-based buffer overflow via an overly long string passed as the filename
argument to the said function.

Successful exploitation may allow execution of arbitrary code.

solution: update to version 0.13.49

------- Comment #1 From Mr. Bones. 2007-03-20 04:12:00 0000 -------
new version in portage.  Everyone stable up.  I'll force it stable and whack
the old ebuilds after a reasonable time.

------- Comment #2 From Jeroen Roovers 2007-03-20 04:57:01 0000 -------
Stable for HPPA.

------- Comment #3 From Christian Faulhammer 2007-03-20 07:14:53 0000 -------
x86 stable

------- Comment #4 From Gustavo Zacarias (RETIRED) 2007-03-20 13:49:02 0000 -------
0.13.38 was the last version that worked right in sparc (didn't sigbus), all
the newer ones do.
Otherwise .38 is fixed to address the security issue or .49 is debugged to get
the nasty unaligned memory accesses out. The problem seems to be in
__zip_find_disk_trailer in zzip/zip.c but it'll take me some time to track it
down since there were many changes between 38->49.

------- Comment #5 From Gustavo Zacarias (RETIRED) 2007-03-20 14:19:49 0000 -------
Ok easy way out for sparc, since only dev-php[45]/pecl-zip-1.0 use
dev-libs/zziplib for us and we already have 1.8.6 stable which uses zlib just
kill the whole thing (including pecl-zip-1.0 keywords).

------- Comment #6 From Gustavo Zacarias (RETIRED) 2007-03-20 14:24:07 0000 -------
pecl-zip-1.0 unkeyworded, -sparc for the broken zziplib versions, feel free to
remove the old ones when this is done.

------- Comment #7 From Jose Luis Rivero (yoswink) 2007-03-20 17:48:18 0000 -------
Seems to work fine on alpha but fails the testsuite only when the USE="sdl" is
enable.

---- 8< ----
make[3]: *** No rule to make target `../bins/zzip-config', needed by
`zzip-config'.  Stop.
---- 8< ----

Anyway, stable.

------- Comment #8 From Markus Rothe 2007-03-21 07:35:56 0000 -------
I'm getting this on ppc64:

[...]
Package 'zzip-zlib-config', required by 'zziplib', not found
../../SDL/SDL_rwops_zzip.c:9:23: error: zzip/zzip.h: No such file or directory
../../SDL/SDL_rwops_zzip.c: In function ‘_zzip_seek’:
../../SDL/SDL_rwops_zzip.c:20: warning: implicit declaration of function
‘zzip_seek’
../../SDL/SDL_rwops_zzip.c:20: error: ‘ZZIP_FILE’ undeclared (first use in
this function)
../../SDL/SDL_rwops_zzip.c:20: error: (Each undeclared identifier is reported
only once
../../SDL/SDL_rwops_zzip.c:20: error: for each function it appears in.)
../../SDL/SDL_rwops_zzip.c:20: error: expected expression before ‘)’ token
../../SDL/SDL_rwops_zzip.c: In function ‘_zzip_close’:
../../SDL/SDL_rwops_zzip.c:37: warning: implicit declaration of function
‘zzip_close’
../../SDL/SDL_rwops_zzip.c:37: error: ‘ZZIP_FILE’ undeclared (first use in
this function)
../../SDL/SDL_rwops_zzip.c:37: error: expected expression before ‘)’ token



$ emerge --info
Portage 2.1.2.2
(default-linux/ppc/ppc64/2007.0/64bit-userland/desktop/970/pmac, gcc-4.1.1,
glibc-2.5-r0, 2.6.19.3 ppc64)
=================================================================
System uname: 2.6.19.3 ppc64 PPC970FX, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 21 Mar 2007 07:00:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig collision-protect cvs distlocks
metadata-transfer sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aiglx alsa altivec amr apache2 asf avahi bash-completion berkdb
bitmap-fonts boost bzip2 cairo ccache cdinstall cdparanoia cdr cgi cli cracklib
crypt ctype cups curl cvs daap dbus dedicated djvu dri dts dv dvd dvdr dvdread
dvi emboss enca encode escreen exif exo fam ffmpeg firefox flac foomaticdb
fortran fping gcj gd gdbm ggi gif gimp gimpprint glib glitz gmp gnokii gnome
gnutls gphoto2 gpm graphviz gs gstreamer gtk hal hfs highlight iconv idle
ieee1394 imagemagick imap imlib ipod ipv6 isdnlog jpeg kdeenablefinal lame
latex ldap libnotify mad matroska mdnsresponder-compat midi mikmod mjpeg motif
mozbranding mp3 mp4 mpeg mplayer mtp multiuser musicbrainz mysql ncurses
network nls no-old-linux nptl nptlonly nsplugin objc objc++ offensive ogg
onaccess openal opengl pam panel-plugin pcre pdf perl php plotutils png ppc64
ppds pppd python qt3 qt4 quicktime rdesktop readline reflection ruby samba
savedconfig scanner screen sdl session skins slp smp snmp spell spl ssl
startup-notification stream subtitles subversion svg tcltk tcpd teamarena test
tetex theora threads thumbnail thunar-vfs tiff trash-panel-plugin trayicon
truetype truetype-fonts type1-fonts unicode upnp usb utempter vcd videos
vim-pager vorbis wxwindows x264 xcb xcomposite xine xml xorg xpm xscreensaver
xulrunner xv xvid xvmc zeroconf zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #9 From SpanKY 2007-03-22 07:22:22 0000 -------
sparc: file a new bug and de-KEYWORD yourself for now please
alpha: your tree is out of date
ppc: dont worry about that, the SDL build isnt actually needed ... but i'll fix
it

------- Comment #10 From Tobias Scherbaum 2007-03-23 19:08:02 0000 -------
ppc stable

------- Comment #11 From Markus Rothe 2007-03-24 14:40:16 0000 -------
ppc64 stable

------- Comment #12 From Chris Gianelloni (RETIRED) 2007-03-24 15:13:39 0000 -------
amd64/ia64 done

------- Comment #13 From Pierre-Yves Rofes 2007-03-24 18:21:54 0000 -------
thanks arches.
ready for GLSA.

------- Comment #14 From Mr. Bones. 2007-03-26 19:39:52 0000 -------
I removed all the older ebuilds.

------- Comment #15 From Raphael Marichez 2007-04-07 00:52:51 0000 -------
GLSA 200704-05 has finally hit g-announces.

First Last Prev Next    No search results available      Search page      Enter new bug