From MAILER-DAEMON Wed Oct 12 17:14:20 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1buQqy-0007EE-4i
	for mharc-bug-ghostscript@gnu.org; Wed, 12 Oct 2016 17:14:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36135)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1buQqv-0007Ca-Rz
	for bug-ghostscript@gnu.org; Wed, 12 Oct 2016 17:14:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1buQqs-00088Z-Ne
	for bug-ghostscript@gnu.org; Wed, 12 Oct 2016 17:14:16 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34989)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@gnu.org>)
	id 1buQqd-00083G-66; Wed, 12 Oct 2016 17:13:59 -0400
Received: from reverse-83.fdn.fr ([80.67.176.83]:52492 helo=pluto)
	by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <ludo@gnu.org>)
	id 1buQqb-0000MN-8a; Wed, 12 Oct 2016 17:13:57 -0400
From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: bug-ghostscript@gnu.org, didier@famille-link.fr
Cc: guix-devel@gnu.org, Alex Vong <alexvong1995@gmail.com>
Subject: Re: ghostscript vulnerabilities
References: <E1buKjg-00057S-2V@master.debian.org> <87insx37ss.fsf@gmail.com>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 21 =?utf-8?Q?Vend=C3=A9miaire?= an 225 de la
	=?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-unknown-linux-gnu
Date: Wed, 12 Oct 2016 23:13:54 +0200
In-Reply-To: <87insx37ss.fsf@gmail.com> (Alex Vong's message of "Wed, 12 Oct
	2016 23:29:07 +0800")
Message-ID: <87mvi9l17x.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: bug-ghostscript@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Bug reports and development for GNU GhostScript,
	the PostScript interpreter of the GNU project"
	<bug-ghostscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-ghostscript/>
List-Post: <mailto:bug-ghostscript@gnu.org>
List-Help: <mailto:bug-ghostscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Oct 2016 21:14:19 -0000

Hello Didier and all,

We are wondering about the applicability to GNU=C2=A0Ghostscript of the
recent vulnerabilities discovered in AGPL=C2=A0Ghostscript:

Alex Vong <alexvong1995@gmail.com> skribis:

> Salvatore Bonaccorso <carnil@debian.org> writes:
>
>> -------------------------------------------------------------------------
>> Debian Security Advisory DSA-3691-1                   security@debian.org
>> https://www.debian.org/security/                     Salvatore Bonaccorso
>> October 12, 2016                      https://www.debian.org/security/faq
>> -------------------------------------------------------------------------
>>
>> Package        : ghostscript
>> CVE ID         : CVE-2013-5653 CVE-2016-7976 CVE-2016-7977 CVE-2016-7978=
=20
>>                  CVE-2016-7979 CVE-2016-8602
>> Debian Bug     : 839118 839260 839841 839845 839846 840451
>>
>> Several vulnerabilities were discovered in Ghostscript, the GPL
>> PostScript/PDF interpreter, which may lead to the execution of arbitrary
>> code or information disclosure if a specially crafted Postscript file is
>> processed.

[...]

> I've checked just now. GNU Ghostscript is also affected at least by
> CVE-2016-8602. Looking at the patch in this bug report[0] and the
> source[1], one can see that the vulnerable lines are present in GNU
> Ghostscript. What should we do now?
>
> [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D840451
> [1]: http://git.savannah.gnu.org/cgit/ghostscript.git/tree/psi/zht2.c

WDYT?  Perhaps a new release incorporating the fixes is in order?

Thanks,
Ludo=E2=80=99.


From MAILER-DAEMON Sat Oct 15 04:44:25 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bvKZt-0002Zi-ON
	for mharc-bug-ghostscript@gnu.org; Sat, 15 Oct 2016 04:44:25 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44754)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mhw@netris.org>) id 1bvJWv-0004YY-41
	for bug-ghostscript@gnu.org; Sat, 15 Oct 2016 03:37:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mhw@netris.org>) id 1bvJWs-0000qC-W3
	for bug-ghostscript@gnu.org; Sat, 15 Oct 2016 03:37:15 -0400
Received: from world.peace.net ([50.252.239.5]:46843)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <mhw@netris.org>)
	id 1bvJWn-0000id-BP; Sat, 15 Oct 2016 03:37:09 -0400
Received: from pool-71-174-33-236.bstnma.east.verizon.net ([71.174.33.236]
	helo=jojen) by world.peace.net with esmtpsa
	(TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2)
	(envelope-from <mhw@netris.org>)
	id 1bvJWb-0003jU-HK; Sat, 15 Oct 2016 03:36:57 -0400
From: Mark H Weaver <mhw@netris.org>
To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=)
Cc: bug-ghostscript@gnu.org,  didier@famille-link.fr,  guix-devel@gnu.org
Subject: Re: ghostscript vulnerabilities
References: <E1buKjg-00057S-2V@master.debian.org> <87insx37ss.fsf@gmail.com>
	<87mvi9l17x.fsf@gnu.org>
Date: Sat, 15 Oct 2016 03:36:45 -0400
In-Reply-To: <87mvi9l17x.fsf@gnu.org> ("Ludovic
	\=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
	\=\?utf-8\?Q\?s\?\= message of "Wed, 12 Oct 2016 23:13:54 +0200")
Message-ID: <87a8e6jc6q.fsf@netris.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 50.252.239.5
X-Mailman-Approved-At: Sat, 15 Oct 2016 04:44:24 -0400
X-BeenThere: bug-ghostscript@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Bug reports and development for GNU GhostScript,
	the PostScript interpreter of the GNU project"
	<bug-ghostscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-ghostscript/>
List-Post: <mailto:bug-ghostscript@gnu.org>
List-Help: <mailto:bug-ghostscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Oct 2016 07:37:18 -0000

ludo@gnu.org (Ludovic Court=C3=A8s) writes:

> Hello Didier and all,
>
> We are wondering about the applicability to GNU=C2=A0Ghostscript of the
> recent vulnerabilities discovered in AGPL=C2=A0Ghostscript:
>
> Alex Vong <alexvong1995@gmail.com> skribis:
>
>> Salvatore Bonaccorso <carnil@debian.org> writes:
>>
>>> -----------------------------------------------------------------------=
--
>>> Debian Security Advisory DSA-3691-1                   security@debian.o=
rg
>>> https://www.debian.org/security/                     Salvatore Bonaccor=
so
>>> October 12, 2016                      https://www.debian.org/security/f=
aq
>>> -----------------------------------------------------------------------=
--
>>>
>>> Package        : ghostscript
>>> CVE ID         : CVE-2013-5653 CVE-2016-7976 CVE-2016-7977 CVE-2016-797=
8=20
>>>                  CVE-2016-7979 CVE-2016-8602
>>> Debian Bug     : 839118 839260 839841 839845 839846 840451
>>>
>>> Several vulnerabilities were discovered in Ghostscript, the GPL
>>> PostScript/PDF interpreter, which may lead to the execution of arbitrary
>>> code or information disclosure if a specially crafted Postscript file is
>>> processed.
>
> [...]
>
>> I've checked just now. GNU Ghostscript is also affected at least by
>> CVE-2016-8602. Looking at the patch in this bug report[0] and the
>> source[1], one can see that the vulnerable lines are present in GNU
>> Ghostscript. What should we do now?
>>
>> [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D840451
>> [1]: http://git.savannah.gnu.org/cgit/ghostscript.git/tree/psi/zht2.c
>
> WDYT?  Perhaps a new release incorporating the fixes is in order?

FYI, I ported the upstream patches to GNU ghostscript for GNU Guix.
You can find them here:

http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D1de17a648fa631f0074d=
315bfff0716220ce4880

      Mark


From MAILER-DAEMON Sun Oct 16 05:17:03 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bvhZ1-0000Lh-AN
	for mharc-bug-ghostscript@gnu.org; Sun, 16 Oct 2016 05:17:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54257)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <didier@famille-link.fr>) id 1bvhYx-0000L5-Rc
	for bug-ghostscript@gnu.org; Sun, 16 Oct 2016 05:17:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <didier@famille-link.fr>) id 1bvhYu-0000t7-Iq
	for bug-ghostscript@gnu.org; Sun, 16 Oct 2016 05:16:59 -0400
Received: from mail.famille-link.fr ([37.59.125.29]:48335)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <didier@famille-link.fr>)
	id 1bvhYu-0000rf-8E; Sun, 16 Oct 2016 05:16:56 -0400
Received: from [192.168.1.10] (pre68-3-88-160-82-165.fbx.proxad.net
	[88.160.82.165])
	by mail.famille-link.fr (Postfix) with ESMTPSA id EFC2126E8293;
	Sun, 16 Oct 2016 11:16:51 +0200 (CEST)
Subject: Re: ghostscript vulnerabilities
To: Mark H Weaver <mhw@netris.org>, =?UTF-8?Q?Ludovic_Court=c3=a8s?=
	<ludo@gnu.org>
References: <E1buKjg-00057S-2V@master.debian.org> <87insx37ss.fsf@gmail.com>
	<87mvi9l17x.fsf@gnu.org> <87a8e6jc6q.fsf@netris.org>
Cc: bug-ghostscript@gnu.org, didier@famille-link.fr, guix-devel@gnu.org
From: Didier Link <didier@famille-link.fr>
Message-ID: <c6ff8743-187b-49d1-8597-bf252bd1fedd@famille-link.fr>
Date: Sun, 16 Oct 2016 11:16:44 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <87a8e6jc6q.fsf@netris.org>
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature";
	boundary="xDCbhA718IPxKSsTJXM7I4gM4h8xDWpqm"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 37.59.125.29
X-BeenThere: bug-ghostscript@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Bug reports and development for GNU GhostScript,
	the PostScript interpreter of the GNU project"
	<bug-ghostscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-ghostscript/>
List-Post: <mailto:bug-ghostscript@gnu.org>
List-Help: <mailto:bug-ghostscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Oct 2016 09:17:01 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--xDCbhA718IPxKSsTJXM7I4gM4h8xDWpqm
Content-Type: multipart/mixed; boundary="ws44giSFH3wAfhu4HsjITiiRCBbJ1U8WU"
From: Didier Link <didier@famille-link.fr>
To: Mark H Weaver <mhw@netris.org>, =?UTF-8?Q?Ludovic_Court=c3=a8s?=
 <ludo@gnu.org>
Cc: bug-ghostscript@gnu.org, didier@famille-link.fr, guix-devel@gnu.org
Message-ID: <c6ff8743-187b-49d1-8597-bf252bd1fedd@famille-link.fr>
Subject: Re: ghostscript vulnerabilities
References: <E1buKjg-00057S-2V@master.debian.org> <87insx37ss.fsf@gmail.com>
 <87mvi9l17x.fsf@gnu.org> <87a8e6jc6q.fsf@netris.org>
In-Reply-To: <87a8e6jc6q.fsf@netris.org>

--ws44giSFH3wAfhu4HsjITiiRCBbJ1U8WU
Content-Type: multipart/alternative;
 boundary="------------ED9478D3860690CE1DCD96E6"

This is a multi-part message in MIME format.
--------------ED9478D3860690CE1DCD96E6
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hello all

I will review the Mark's patches and apply them for a security release
next week.

Thanks for your help !

Best regards

Didier


Le 15/10/2016 =C3=A0 09:36, Mark H Weaver a =C3=A9crit :
> ludo@gnu.org (Ludovic Court=C3=A8s) writes:
>
>> Hello Didier and all,
>>
>> We are wondering about the applicability to GNU Ghostscript of the
>> recent vulnerabilities discovered in AGPL Ghostscript:
>>
>> Alex Vong <alexvong1995@gmail.com> skribis:
>>
>>> Salvatore Bonaccorso <carnil@debian.org> writes:
>>>
>>>> --------------------------------------------------------------------=
-----
>>>> Debian Security Advisory DSA-3691-1                   security@debia=
n.org
>>>> https://www.debian.org/security/                     Salvatore Bonac=
corso
>>>> October 12, 2016                      https://www.debian.org/securit=
y/faq
>>>> --------------------------------------------------------------------=
-----
>>>>
>>>> Package        : ghostscript
>>>> CVE ID         : CVE-2013-5653 CVE-2016-7976 CVE-2016-7977 CVE-2016-=
7978=20
>>>>                  CVE-2016-7979 CVE-2016-8602
>>>> Debian Bug     : 839118 839260 839841 839845 839846 840451
>>>>
>>>> Several vulnerabilities were discovered in Ghostscript, the GPL
>>>> PostScript/PDF interpreter, which may lead to the execution of arbit=
rary
>>>> code or information disclosure if a specially crafted Postscript fil=
e is
>>>> processed.
>> [...]
>>
>>> I've checked just now. GNU Ghostscript is also affected at least by
>>> CVE-2016-8602. Looking at the patch in this bug report[0] and the
>>> source[1], one can see that the vulnerable lines are present in GNU
>>> Ghostscript. What should we do now?
>>>
>>> [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D840451
>>> [1]: http://git.savannah.gnu.org/cgit/ghostscript.git/tree/psi/zht2.c=

>> WDYT?  Perhaps a new release incorporating the fixes is in order?
> FYI, I ported the upstream patches to GNU ghostscript for GNU Guix.
> You can find them here:
>
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D1de17a648fa631f0=
074d315bfff0716220ce4880
>
>       Mark



--------------ED9478D3860690CE1DCD96E6
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div class=3D"moz-cite-prefix"><br>
      Hello all<br>
      <br>
      I will review the Mark's patches and apply them for a security
      release next week.<br>
      <br>
      Thanks for your help !<br>
      <br>
      Best regards<br>
      <br>
      Didier<br>
      <br>
      <br>
      Le 15/10/2016 =C3=A0 09:36, Mark H Weaver a =C3=A9crit=C2=A0:<br>
    </div>
    <blockquote class=3D" cite" id=3D"mid_87a8e6jc6q_fsf_netris_org"
      cite=3D"mid:87a8e6jc6q.fsf@netris.org" type=3D"cite">
      <pre wrap=3D""><a class=3D"moz-txt-link-abbreviated" href=3D"mailto=
:ludo@gnu.org">ludo@gnu.org</a> (Ludovic Court=C3=A8s) writes:

</pre>
      <blockquote class=3D" cite" id=3D"Cite_4116165" type=3D"cite">
        <pre wrap=3D"">Hello Didier and all,

We are wondering about the applicability to GNU=C2=A0Ghostscript of the
recent vulnerabilities discovered in AGPL=C2=A0Ghostscript:

Alex Vong <a class=3D"moz-txt-link-rfc2396E" href=3D"mailto:alexvong1995@=
gmail.com">&lt;alexvong1995@gmail.com&gt;</a> skribis:

</pre>
        <blockquote class=3D" cite" id=3D"Cite_6398427" type=3D"cite">
          <pre wrap=3D"">Salvatore Bonaccorso <a class=3D"moz-txt-link-rf=
c2396E" href=3D"mailto:carnil@debian.org">&lt;carnil@debian.org&gt;</a> w=
rites:

</pre>
          <blockquote class=3D" cite" id=3D"Cite_2768069" type=3D"cite">
            <pre wrap=3D"">----------------------------------------------=
---------------------------
Debian Security Advisory DSA-3691-1                   <a class=3D"moz-txt=
-link-abbreviated" href=3D"mailto:security@debian.org">security@debian.or=
g</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://www.debian.org/securit=
y/">https://www.debian.org/security/</a>                     Salvatore Bo=
naccorso
October 12, 2016                      <a class=3D"moz-txt-link-freetext" =
href=3D"https://www.debian.org/security/faq">https://www.debian.org/secur=
ity/faq</a>
-------------------------------------------------------------------------=


Package        : ghostscript
CVE ID         : CVE-2013-5653 CVE-2016-7976 CVE-2016-7977 CVE-2016-7978 =

                 CVE-2016-7979 CVE-2016-8602
Debian Bug     : 839118 839260 839841 839845 839846 840451

Several vulnerabilities were discovered in Ghostscript, the GPL
PostScript/PDF interpreter, which may lead to the execution of arbitrary
code or information disclosure if a specially crafted Postscript file is
processed.
</pre>
          </blockquote>
        </blockquote>
        <pre wrap=3D"">[...]

</pre>
        <blockquote class=3D" cite" id=3D"Cite_2227641" type=3D"cite">
          <pre wrap=3D"">I've checked just now. GNU Ghostscript is also a=
ffected at least by
CVE-2016-8602. Looking at the patch in this bug report[0] and the
source[1], one can see that the vulnerable lines are present in GNU
Ghostscript. What should we do now?

[0]: <a class=3D"moz-txt-link-freetext" href=3D"https://bugs.debian.org/c=
gi-bin/bugreport.cgi?bug=3D840451">https://bugs.debian.org/cgi-bin/bugrep=
ort.cgi?bug=3D840451</a>
[1]: <a class=3D"moz-txt-link-freetext" href=3D"http://git.savannah.gnu.o=
rg/cgit/ghostscript.git/tree/psi/zht2.c">http://git.savannah.gnu.org/cgit=
/ghostscript.git/tree/psi/zht2.c</a>
</pre>
        </blockquote>
        <pre wrap=3D"">WDYT?  Perhaps a new release incorporating the fix=
es is in order?
</pre>
      </blockquote>
      <pre wrap=3D"">FYI, I ported the upstream patches to GNU ghostscrip=
t for GNU Guix.
You can find them here:

<a class=3D"moz-txt-link-freetext" href=3D"http://git.savannah.gnu.org/cg=
it/guix.git/commit/?id=3D1de17a648fa631f0074d315bfff0716220ce4880">http:/=
/git.savannah.gnu.org/cgit/guix.git/commit/?id=3D1de17a648fa631f0074d315b=
fff0716220ce4880</a>

      Mark
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------ED9478D3860690CE1DCD96E6--

--ws44giSFH3wAfhu4HsjITiiRCBbJ1U8WU--

--xDCbhA718IPxKSsTJXM7I4gM4h8xDWpqm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQI0BAEBCgAeBQJYA0WCFxxkaWRpZXJAZmFtaWxsZS1saW5rLmZyAAoJELN7uGQS
fYWjWe4QAIv+qJXpRMyUe4MFWRHBRvunW7XtN+/vKUuUgjp+U9JoLopUiUSNSmui
wA0DGERYESRnOVE7970VSQLJwDAQaauYwo1MfnsVNlJnANv2+z7/RFVX2FLs78jm
nAb0+FsulNTyXQB2yDDGaRGdlaLJzqdV9t6EbMbalXDgr/1ycfmmue3778ZcygvK
o2PKkVwnpVFGkd/87n9qIWbgSClkzF7KVUF+BcF3HXbn9GxJqpRbYs4/2rfNH+g+
9l8dMYq8RRIzqVRQEvJ7OSK4Fi0TScAKOpWyTTy7Lo+lwJ4BgKiaX6T0XLOxjTN4
HPZoO/nH+kXnkwc942PyT0igP7b8eAyyheKXgpambC0/yBjNld/Khr8onjwK6EPW
QJ1vfDG4iNa97SVsjqCSYOHGxJt+AHp4euEhwQHBD9ZlR2yjwI1raT0ymooH9Gyn
eFSrYiELRIs67U3T7xo69LnVmtCTjWx/wYaNIh0+C8McsA0jPAc26eKlgsTH0eeL
yiK/t3ye9NT0QcrbQ65BmMWToNK6HnsfF68V8BhXCSj8P9Ygj+2O2SBJ3sVeOsVR
A680CzD8FcsUTG54EKiNo4QQOkLwCwZgcJCsgemTMVsa+HHW/o2ckzHfs4S0V/Wn
unia7I0krHq9MvabQrnEEzeVz8GBbFettGIRVRSTVcXXTkMSt7pu
=51wy
-----END PGP SIGNATURE-----

--xDCbhA718IPxKSsTJXM7I4gM4h8xDWpqm--


From MAILER-DAEMON Sun Oct 16 12:01:42 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1bvnsc-0003O6-8g
	for mharc-bug-ghostscript@gnu.org; Sun, 16 Oct 2016 12:01:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42380)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <alexvong1995@gmail.com>) id 1bvnfR-0000qd-8e
	for bug-ghostscript@gnu.org; Sun, 16 Oct 2016 11:48:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <alexvong1995@gmail.com>) id 1bvnfO-0004Wd-5Q
	for bug-ghostscript@gnu.org; Sun, 16 Oct 2016 11:48:05 -0400
Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:33232)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <alexvong1995@gmail.com>)
	id 1bvnfN-0004WL-UC; Sun, 16 Oct 2016 11:48:02 -0400
Received: by mail-pf0-x244.google.com with SMTP id i85so7651343pfa.0;
	Sun, 16 Oct 2016 08:48:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:to:cc:subject:references:date:in-reply-to:message-id
	:user-agent:mime-version;
	bh=UgiJf7O9uYpd+voxUh4CQWXeM57eVmun5GYE2tp9ddM=;
	b=deaf0fHWDzetaj2h5j0Nj2Kp9z9Qbx0ubWCQVIAu7IruVxs7ofChBjp6FyTxfmNVKG
	ibhTHO7/BPe9sx0bHU8LDVxpQpS2rODbBr2iiaUMkW/btsslZCj9jI6hP2wqoxr2fFMA
	ZYnqqNGmEN1jo5eFTKask+0hGVIlfv1l8zGJ/HBSjTka6shwj9M/6uSlBxtIzMgTJn5U
	Z54TJtn+A2ohPCjUpSxFvezQX7Bs8Pmr/T/oN9lr7ZfgDbFPJLv7RTO9zSDD/u9zNqvK
	36eTaV2E675hE4TH4SIMDXGeUsuPImbjUzkS4YPqtKwi7cO6pecnGgKLaXE8eoNhXgH0
	1QKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
	:message-id:user-agent:mime-version;
	bh=UgiJf7O9uYpd+voxUh4CQWXeM57eVmun5GYE2tp9ddM=;
	b=G5yooxpEF/No09JZID7ChH9zFkMGRcVA/OAemRUVNiLTMzqmV+eoITKIrZESvEYIjc
	NLN9Vv+O5w0zmE2NHsf3QIY1O/yO4x1BRUqTg7LuZo6foGI93PpeaYNFDe0j0ZWIEFBp
	yxJLZdrQmQ6no208m9TXCgMfw7of/4H7Jk2mXvH/H9nTzV2fOyeDBdMLE+Kh2nvrYeHo
	OopPjzQ/vRG+/GxlKfonrGRxA0x2ZcXrnTR6g2tbfsZ+Im/GGs+qSRZds4FeC3XPL7VO
	KHeEJmaIJnJDgoNsaoJdqc0gVYMoO1F0FMffTJE62Oz0wFaYbavzaIL6BxuF1MB9igHK
	PkkQ==
X-Gm-Message-State: AA6/9Rn+i0XdaWUuteqyIIKZKElPF37b4zUNuJxfEP/iYORfMz101x8sCf39BwsFFZPaIw==
X-Received: by 10.98.21.138 with SMTP id 132mr31635451pfv.38.1476632880198;
	Sun, 16 Oct 2016 08:48:00 -0700 (PDT)
Received: from debian (pcd372172.netvigator.com. [203.218.162.172])
	by smtp.gmail.com with ESMTPSA id
	a9sm41525883pfa.38.2016.10.16.08.47.56
	(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
	Sun, 16 Oct 2016 08:47:58 -0700 (PDT)
From: Alex Vong <alexvong1995@gmail.com>
To: Didier Link <didier@famille-link.fr>
Cc: Mark H Weaver <mhw@netris.org>,  Ludovic =?utf-8?Q?Court=C3=A8s?=
	<ludo@gnu.org>,  guix-devel@gnu.org,  bug-ghostscript@gnu.org
Subject: Re: ghostscript vulnerabilities
References: <E1buKjg-00057S-2V@master.debian.org> <87insx37ss.fsf@gmail.com>
	<87mvi9l17x.fsf@gnu.org> <87a8e6jc6q.fsf@netris.org>
	<c6ff8743-187b-49d1-8597-bf252bd1fedd@famille-link.fr>
Date: Sun, 16 Oct 2016 23:47:39 +0800
In-Reply-To: <c6ff8743-187b-49d1-8597-bf252bd1fedd@famille-link.fr> (Didier
	Link's message of "Sun, 16 Oct 2016 11:16:44 +0200")
Message-ID: <87twcc5m90.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400e:c00::244
X-Mailman-Approved-At: Sun, 16 Oct 2016 12:01:41 -0400
X-BeenThere: bug-ghostscript@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Bug reports and development for GNU GhostScript,
	the PostScript interpreter of the GNU project"
	<bug-ghostscript.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-ghostscript/>
List-Post: <mailto:bug-ghostscript@gnu.org>
List-Help: <mailto:bug-ghostscript-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Oct 2016 15:48:06 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello,

I notice the patch for CVE-2016-7977[0] handles the problem differently
than GNU Ghostscript[1] does. Maybe you can take a look at it.

[0]: http://git.ghostscript.com/?p=3Dghostpdl.git;a=3Dcommitdiff;h=3D8abd22=
010eb4db0fb1b10e430d5f5d83e015ef70
[1]: http://git.savannah.gnu.org/cgit/ghostscript.git/tree/psi/zfile.c

Thanks,
Alex

Didier Link <didier@famille-link.fr> writes:

> Hello all
>
> I will review the Mark's patches and apply them for a security release ne=
xt week.
>
> Thanks for your help !
>
> Best regards
>
> Didier
>
> Le 15/10/2016 =C3=A0 09:36, Mark H Weaver a =C3=A9crit :
>
>  ludo@gnu.org (Ludovic Court=C3=A8s) writes:
>
>  Hello Didier and all,
>
> We are wondering about the applicability to GNU=C2=A0Ghostscript of the
> recent vulnerabilities discovered in AGPL=C2=A0Ghostscript:
>
> Alex Vong <alexvong1995@gmail.com> skribis:
>
>  Salvatore Bonaccorso <carnil@debian.org> writes:
>
>  -------------------------------------------------------------------------
>=20=20
> Debian Security Advisory DSA-3691-1                   security@debian.org
> https://www.debian.org/security/                     Salvatore Bonaccorso
> October 12, 2016                      https://www.debian.org/security/faq
> -------------------------------------------------------------------------
>
> Package        : ghostscript
> CVE ID         : CVE-2013-5653 CVE-2016-7976 CVE-2016-7977 CVE-2016-7978=
=20
>                  CVE-2016-7979 CVE-2016-8602
> Debian Bug     : 839118 839260 839841 839845 839846 840451
>
> Several vulnerabilities were discovered in Ghostscript, the GPL
> PostScript/PDF interpreter, which may lead to the execution of arbitrary
> code or information disclosure if a specially crafted Postscript file is
> processed.
>
> [...]
>
>  I've checked just now. GNU Ghostscript is also affected at least by
> CVE-2016-8602. Looking at the patch in this bug report[0] and the
> source[1], one can see that the vulnerable lines are present in GNU
> Ghostscript. What should we do now?
>
> [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D840451
> [1]: http://git.savannah.gnu.org/cgit/ghostscript.git/tree/psi/zht2.c
>
> WDYT?  Perhaps a new release incorporating the fixes is in order?
>
> FYI, I ported the upstream patches to GNU ghostscript for GNU Guix.
> You can find them here:
>
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D1de17a648fa631f007=
4d315bfff0716220ce4880
>
>       Mark

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYA6EbAAoJEMWKuHkX9RGuanYP/icemWPmz0BWQ5M/609MvCH/
Sl79Kzx9SfMD+U5MFm4VonPuUWWSrdqGDTv6vmhfiEtrX8O9p41EoyuWkYd3eTSo
rTaeP3zHfY1YwKAP2XAtd39wwNkF/k8mCe59ukUTpowiAr3ls4uTLUU7Uz5YXXnO
z6ixOvShKB5aDUGfOPS74FJxJihYxN4t95VRkSgLJjYzdlPCOhtpQC5EoAA/Dt7o
jJ0gTjdgwh7aiwzkwe5lFD3g7RMdIkeph2IANz/i3vadF1Mp1TdLNyXfgBxlIn79
uGwhXS2B7VCbmLCyC+QMaONI3U1nHbRERFd6B0/bYfE19vUJTy8CUWG4e3/7KU0T
NFXlMJ2z8GI6PxNt7PyubTAWFXmzyV03ktHWv3Xd4x3ve1GDchrSWhlPheNZc3lZ
xdPnO92qtZiGFlQ5bjjpz/FkM2FHzRinecZWAKaUcMnFS+U2ll0BLp6VLKkJeYIU
v6HXkHBXLQqdsNi/cc6MluoXRCkfNxiZzTFnNY2Ged7+9iEoc7zu185w7PTYt+rZ
9AGunvWeFdNl2vAx5lyISgtJiNOI4feGP8XRICZ9OK5N6bDnb+hR7eBDdQUwFWRJ
zSD+VQK74vZ6Ip+lG2l5u5WVBaQzMB6C6rvZEil4yAqpR3GYXgAjrdU9OjzdDYsh
7ujdpLVAQRDNN4EVRNPi
=vOTW
-----END PGP SIGNATURE-----
--=-=-=--


