Report forwarded
to bug-guix@gnu.org: bug#32957; Package guix.
(Sat, 06 Oct 2018 14:59:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Marius Bakke <mbakke@fastmail.com>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org.
(Sat, 06 Oct 2018 14:59:02 GMT) (full text, mbox, link).
Python 2 and 3 are using a bundled Expat (residing under Modules/).
This has been the cause of security vulnerabilities in the past and
should be changed to use Expat from Guix.
Added tag(s) security.
Request was from ludo@gnu.org (Ludovic Courtès)
to control@debbugs.gnu.org.
(Mon, 08 Oct 2018 13:28:01 GMT) (full text, mbox, link).
Severity set to 'important' from 'normal'
Request was from ludo@gnu.org (Ludovic Courtès)
to control@debbugs.gnu.org.
(Mon, 08 Oct 2018 13:28:02 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#32957; Package guix.
(Wed, 10 Oct 2018 19:28:02 GMT) (full text, mbox, link).
On Sat, Oct 06, 2018 at 04:58:13PM +0200, Marius Bakke wrote:
> Python 2 and 3 are using a bundled Expat (residing under Modules/).
>
> This has been the cause of security vulnerabilities in the past and
> should be changed to use Expat from Guix.
Looks like Debian uses an external Expat to fill the dependency, so it
should be possible:
https://packages.debian.org/stretch/python3.5-minimal
We should look into the difference between the bundled Expat and
upstream Expat.
Leo Famulari <leo@famulari.name> writes:
> On Sat, Oct 06, 2018 at 04:58:13PM +0200, Marius Bakke wrote:
>> Python 2 and 3 are using a bundled Expat (residing under Modules/).
>>
>> This has been the cause of security vulnerabilities in the past and
>> should be changed to use Expat from Guix.
>
> Looks like Debian uses an external Expat to fill the dependency, so it
> should be possible:
>
> https://packages.debian.org/stretch/python3.5-minimal
>
> We should look into the difference between the bundled Expat and
> upstream Expat.
Looking at the Debian package did help me figure out how to make it use
system Expat. We needed this patch:
<https://salsa.debian.org/cpython-team/python3/blob/master/debian/patches/setup-modules.diff>.
That patch only works *after* the configure step and requires
regenerating some files (see the rules file around PyExpat), so I took a
simpler approach.
Fixed in d1659c0fb27c4f71c8ddc6a85d3cd9f3a10cca97.
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.