First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 203287
Alias:
Product:
Component:
Status: REOPENED
Resolution:
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lars Hartmann <lars@chaotika.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 203287 depends on: Show dependency tree
Bug 203287 blocks:

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-12-25 11:16 0000
poplix has discovered a vulnerability in PDFlib, which can be exploited by
malicious people to cause a DoS (Denial of Service) or potentially compromise
an application using the library.

The vulnerability is caused due to a boundary error within the
"pdc_fsearch_fopen()" function. This can be exploited to cause a stack-based
buffer overflow via e.g. a call to "PDF_load_image()" with an overly long
filename parameter.

NOTE: Other functions are also reportedly affected by similar boundary errors.

The vulnerability is confirmed in version 7.0.2 for Linux on IA-32. Other
versions may also be affected.

Reproducible: Always

------- Comment #1 From Robert Buchholz 2007-12-25 12:00:09 0000 -------
cc'ing maintainers. According to the advisory, upstream already is working on a
patch.

Since the PDFlib version we are shipping, is actually the "Lite" variant, we
should check if that is also affected.

------- Comment #2 From Robert Buchholz 2007-12-25 12:13:17 0000 -------
(In reply to comment #1)
> Since the PDFlib version we are shipping, is actually the "Lite" variant, we
> should check if that is also affected.

Confirmed for 7.02

------- Comment #3 From Lars Hartmann 2008-01-04 20:07:05 0000 -------
could someone please add CVE-2007-6561 to the topic?
i dont have the needed permissions to do that

------- Comment #4 From Christian Hoffmann 2008-01-04 20:13:45 0000 -------
Thankies, done. :)

------- Comment #5 From Robert Buchholz 2008-01-05 02:23:33 0000 -------
Upstream expects a release in roughly four weeks.

------- Comment #6 From Robert Buchholz 2008-02-28 14:37:51 0000 -------
New upstream release fixes this. php herd, please bump:
http://www.pdflib.com/binaries/PDFlib/702/PDFlib-Lite-7.0.2p8.tar.gz

------- Comment #7 From Jakub Moc (RETIRED) 2008-02-28 14:43:14 0000 -------
Yeah, I'd love to have this bumped, alas I just wasted two hours of my time
with their broken configure scripts.

------- Comment #8 From Jakub Moc (RETIRED) 2008-02-28 16:10:56 0000 -------
pdflib-7.0.2_p8 InCVS...

Any attempts to cleanup up the ebuild failed since:
- ruby support is hard-disabled as the configure magic is heavily broken, and
requires a patch even to disable it
- emake install still doesn't work, installs to ${D}/${D}
- even einstall requires manual hacks to not install stuff to broken locations
- no, I don't know what makes it spit out the following warning and I frankly
don't care

<snip>
bzip2: Can't open input file
/var/tmp/portage/media-libs/pdflib-7.0.2_p8/image/usr/share/doc/pdflib-7.0.2_p8//pdflib:
No such file or directory.
</snip>

archies, please test and stabilize; tested and working here with USE="cxx -doc
-java perl python -tcl" on x86 and amd64, everything else is untested and I
hope I won't have to touch the ebuild for quite some time.

@mips - either rekeyword this now or lose pdflib altogether, all the remaining
versions will go away ASAP.

------- Comment #9 From Markus Meier 2008-02-28 20:18:21 0000 -------
x86 stable

------- Comment #10 From Brent Baude 2008-02-29 02:04:55 0000 -------
ppc64 stable

------- Comment #11 From Jeroen Roovers 2008-02-29 05:36:36 0000 -------
Stable for HPPA.

------- Comment #12 From Raúl Porcel 2008-02-29 15:42:11 0000 -------
alpha/ia64/sparc stable

------- Comment #13 From Thomas Anderson 2008-03-03 22:38:42 0000 -------
====amd64====

1. Compiles.
2. Installs.
3. Merges.
4. Works.
4.1 Tested built-in pdfimage tool for viewing pdf's
4.2 Tested xml2doc pdf output using all examples provided.
4.3 Tested grace pdf support.

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3400+
Timestamp of tree: Mon, 03 Mar 2008 01:47:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-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/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer
multilib-strict nostrip parallel-fetch sandbox sfperms strict test
unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/enlightenment /overlay"
SYNC="rsync://kv80/gentoo-portage"
USE="X acl acpi aim alsa amd64 arts bash-completion berkdb bitmap-fonts
branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss
encode esd evo fam firefox fortran gdbm gif gpm gstreamer hal iconv imap ipv6
isdnlog jpeg kde kerberos mad midi mikmod mmx mp3 mpeg mudflap mysql mysqli
ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png
pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session
spell spl sqlite3 sse sse2 ssl svg tcpd tiff truetype truetype-fonts
type1-fonts unicode vim vim-syntax vorbis xine xml xorg xv zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
trident usb-audio via82xx via82xx-modem ymfpci" 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"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #14 From Christoph Mende 2008-03-03 23:22:57 0000 -------
amd64 stable

------- Comment #15 From Tobias Scherbaum 2008-03-04 20:53:31 0000 -------
ppc stable

------- Comment #16 From Robert Buchholz 2008-03-08 16:26:58 0000 -------
request filed

------- Comment #17 From Pierre-Yves Rofes 2008-03-10 21:38:43 0000 -------
GLSA 200803-17

------- Comment #18 From Robert Buchholz 2009-05-28 16:07:43 0000 -------
mips: please rekeyword =media-libs/pdflib-7.0.2_p8

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