[shutter] 01/05: Import Debian changes 0.92-0.1+deb8u1

gregor herrmann gregoa at debian.org
Sat May 20 20:40:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch jessie
in repository shutter.

commit 41bf504efdfbbfd5db52d37483dca8de9d8ed8ae
Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
Date:   Tue Dec 20 19:00:20 2016 +0100

    Import Debian changes 0.92-0.1+deb8u1
    
    shutter (0.92-0.1+deb8u1) jessie; urgency=high
    
      * Fix insecure usage of system(). Closes: #798862 [CVE-2015-0854]
---
 debian/changelog                   |  6 ++++++
 debian/patches/CVE-2015-0854.patch | 18 ++++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1e99df4..009a696 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+shutter (0.92-0.1+deb8u1) jessie; urgency=high
+
+  * Fix insecure usage of system(). Closes: #798862 [CVE-2015-0854]
+
+ -- Christoph Biedl <debian.axhn at manchmal.in-ulm.de>  Tue, 20 Dec 2016 19:00:20 +0100
+
 shutter (0.92-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --git a/debian/patches/CVE-2015-0854.patch b/debian/patches/CVE-2015-0854.patch
new file mode 100644
index 0000000..69c61da
--- /dev/null
+++ b/debian/patches/CVE-2015-0854.patch
@@ -0,0 +1,18 @@
+Description: Fix insecure use of system()
+Author: Luke Faraone <lfaraone at debian.org>
+ID: CVE-2015-0854
+Bug: https://bugs.launchpad.net/shutter/+bug/1495163
+Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798862
+
+--- a/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm
++++ b/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm
+@@ -53,7 +53,8 @@
+ 
+ sub xdg_open {
+ 	my ( $self, $dialog, $link, $user_data ) = @_;
+-	system("xdg-open $link");
++	my @args = ("xdg-open", $link);
++	system(@args);
+ 	if($?){
+ 		my $response = $self->{_dialogs}->dlg_error_message( 
+ 			sprintf( $self->{_d}->get("Error while executing %s."), "'xdg-open'"),
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7a8d251
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+CVE-2015-0854.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/shutter.git



More information about the Pkg-perl-cvs-commits mailing list