tags 742902 + patch tags 742902 + pending thanks Dear maintainer,
I've prepared an NMU for a2ps (versioned as 1:4.14-1.3) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards, Salvatore
diff -Nru a2ps-4.14/debian/changelog a2ps-4.14/debian/changelog --- a2ps-4.14/debian/changelog 2014-03-27 15:08:23.000000000 +0100 +++ a2ps-4.14/debian/changelog 2014-03-30 09:09:47.000000000 +0200 @@ -1,3 +1,14 @@ +a2ps (1:4.14-1.3) unstable; urgency=high + + * Non-maintainer upload. + * Add CVE-2014-0466.diff patch. + CVE-2014-0466: fixps does not invoke gs with -dSAFER. A malicious + PostScript file could delete files with the privileges of the invoking + user. + Thanks to brian m. carlson <sand...@crustytoothpaste.net> (Closes: #742902) + + -- Salvatore Bonaccorso <car...@debian.org> Sun, 30 Mar 2014 09:09:07 +0200 + a2ps (1:4.14-1.2) unstable; urgency=medium * Non-maintainer upload. diff -Nru a2ps-4.14/debian/patches/CVE-2014-0466.diff a2ps-4.14/debian/patches/CVE-2014-0466.diff --- a2ps-4.14/debian/patches/CVE-2014-0466.diff 1970-01-01 01:00:00.000000000 +0100 +++ a2ps-4.14/debian/patches/CVE-2014-0466.diff 2014-03-30 09:09:47.000000000 +0200 @@ -0,0 +1,30 @@ +Description: CVE-2014-0466: fixps does not invoke gs with -dSAFER + A malicious PostScript file could delete files with the privileges of + the invoking user. +Origin: vendor +Bug-Debian: http://bugs.debian.org/742902 +Author: Salvatore Bonaccorso <car...@debian.org> +Last-Update: 2014-03-28 + +--- a/contrib/fixps.in ++++ b/contrib/fixps.in +@@ -389,7 +389,7 @@ + eval "$command" ;; + gs) + $verbose "$program: making a full rewrite of the file ($gs)." >&2 +- $gs -q -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;; ++ $gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;; + esac + ) + fi +--- a/contrib/fixps.m4 ++++ b/contrib/fixps.m4 +@@ -307,7 +307,7 @@ + eval "$command" ;; + gs) + $verbose "$program: making a full rewrite of the file ($gs)." >&2 +- $gs -q -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;; ++ $gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;; + esac + ) + fi diff -Nru a2ps-4.14/debian/patches/series a2ps-4.14/debian/patches/series --- a2ps-4.14/debian/patches/series 2014-03-27 15:05:03.000000000 +0100 +++ a2ps-4.14/debian/patches/series 2014-03-30 09:09:47.000000000 +0200 @@ -10,3 +10,4 @@ fix-bad-free.diff fix-format-security.diff fix-texi-build.diff +CVE-2014-0466.diff