./print/evince3, Document viewer

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.22.1nb6, Package name: evince-3.22.1nb6, Maintainer: pkgsrc-users

Evince is a document viewer for multiple document formats like pdf, postscript,
and many others.


Required to run:
[sysutils/desktop-file-utils] [sysutils/dbus-glib] [sysutils/dbus] [textproc/libxml2] [print/poppler-glib] [graphics/hicolor-icon-theme] [graphics/tiff] [graphics/librsvg] [databases/shared-mime-info] [devel/glib2] [print/libspectre] [x11/gtk3] [security/libsecret] [graphics/adwaita-icon-theme]

Required to build:
[textproc/gnome-doc-utils] [pkgtools/x11-links] [x11/compositeproto] [x11/glproto] [x11/renderproto] [x11/xproto] [x11/xf86vidmodeproto] [x11/xf86driproto] [x11/damageproto] [x11/inputproto] [x11/xextproto] [x11/randrproto] [x11/dri2proto] [x11/xcb-proto] [x11/fixesproto4] [textproc/itstool] [devel/gdbus-codegen] [pkgtools/cwrappers]

Package options: dbus

Master sites: (Expand)

SHA1: 7b24678035c50c4ccaf76bdd64e228b1c1912d4b
RMD160: e2c5b03a59ec7a7d50b6c34d1aafed4d419fc8a5
Filesize: 3286.137 KB

Version history: (Expand)


CVS history: (Expand)


   2017-07-14 07:31:21 by Maya Rashish | Files touched by this commit (5) | Package updated
Log message:
Patch CVE-2017-1000083

From 717df38fd8509bf883b70d680c9b1b3cf36732ee Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Thu, 6 Jul 2017 20:02:00 +0200
Subject: [PATCH] comics: Remove support for tar and tar-like commands

When handling tar files, or using a command with tar-compatible syntax,
to open comic-book archives, both the archive name (the name of the
comics file) and the filename (the name of a page within the archive)
are quoted to not be interpreted by the shell.

But the filename is completely with the attacker's control and can start
with "--" which leads to tar interpreting it as a command line flag.

This can be exploited by creating a CBT file (a tar archive with the
.cbt suffix) with an embedded file named something like this:
"--checkpoint-action=exec=bash -c 'touch ~/hacked;'.jpg"

CBT files are infinitely rare (CBZ is usually used for DRM-free
commercial releases, CBR for those from more dubious provenance), so
removing support is the easiest way to avoid the bug triggering. All
this code was rewritten in the development release for GNOME 3.26 to not
shell out to any command, closing off this particular attack vector.

This also removes the ability to use libarchive's bsdtar-compatible
binary for CBZ (ZIP), CB7 (7zip), and CBR (RAR) formats. The first two
are already supported by unzip and 7zip respectively. libarchive's RAR
support is limited, so unrar is a requirement anyway.

Discovered by Felix Wilhelm from the Google Security Team.

https://bugzilla.gnome.org/show_bug.cgi?id=784630

Bump PKGREVISION
   2017-05-29 13:09:46 by Jonathan Perkin | Files touched by this commit (16)
Log message:
Recursive revision bump for archivers/libarchive.
   2017-05-02 15:37:33 by Thomas Klausner | Files touched by this commit (44)
Log message:
Recursive bump for poppler-0.54.0
   2017-02-12 07:26:18 by Ryo ONODERA | Files touched by this commit (1451)
Log message:
Recursive revbump from fonts/harfbuzz
   2017-02-06 14:56:14 by Thomas Klausner | Files touched by this commit (1452)
Log message:
Recursive bump for harfbuzz's new graphite2 dependency.
   2017-01-25 15:36:40 by Thomas Klausner | Files touched by this commit (36) | Package updated
Log message:
Recursive bump for poppler update
   2016-12-12 16:16:05 by Thomas Klausner | Files touched by this commit (1)
Log message:
Fix PLIST when dbus option is disabled.

From John D. Baker in PR 51712.
   2016-11-26 13:44:05 by Patrick Welche | Files touched by this commit (4) | Package updated
Log message:
Update evince3 to 3.22.1

Highlights:
* Fix several memory leaks (#770070 and #770069, Eric R. Schulz)
* Fix scaling calculation in PostScript backend (#755776, Jason Crain)
* Fix a crash when processing button events in EvView (#769700, Marek Kasik)
* Fix a crash when opening a copy of a document with annotation
  popup windows (#760299, Jose Aliste)
* Improve annotation properties dialog UI (#767895, Trinh Anh Ngoc)
* Fix build with GCC 6 (Michael Catanzaro)

Full list of changes at:

  https://git.gnome.org/browse/evince/tree/NEWS?h=3.22.1