Bug 1345857 - CVE-2016-5636 jython: python: Heap overflow in zipimporter module [fedora-all]
Summary: CVE-2016-5636 jython: python: Heap overflow in zipimporter module [fedora-all]
Alias: None
Product: Fedora
Classification: Fedora
Component: jython
Version: 23
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Mat Booth
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: CVE-2016-5636
TreeView+ depends on / blocked
Reported: 2016-06-13 10:38 UTC by Adam Mariš
Modified: 2016-11-08 16:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Last Closed: 2016-06-27 12:47:51 UTC
Type: ---

Attachments (Terms of Use)

Description Adam Mariš 2016-06-13 10:38:51 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

[bug automatically created by: add-tracking-bugs]

Comment 1 Adam Mariš 2016-06-13 10:39:01 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.


# bugfix, security, enhancement, newpackage (required)

# testing, stable

# Bug numbers: 1234,9876

# Description of your update
notes=Security fix for 

# Enable request automation based on the stable/unstable karma thresholds

# Automatically close bugs when this marked as stable

# Suggest that users restart after update


Additionally, you may opt to use the bodhi web interface to submit updates:


Comment 2 Mat Booth 2016-06-27 12:19:24 UTC
Are you certain that Jython in Fedora is vulnerable to this bug?

I tried reproducing with the sample program posted to the upstream bug: https://bugs.python.org/file41677/crash.py

But Jython does not crash:

[mbooth@fedora24 ~]$ rpm -q python
[mbooth@fedora24 ~]$ python crash.py 
Segmentation fault (core dumped)

[mbooth@fedora24 ~]$ rpm -q jython
[mbooth@fedora24 ~]$ jython crash.py 

Is this the expected behaviour? My guess would be that Jython uses a different (Java) implementation of zip and is therefore not vulnerable.

Comment 3 Adam Mariš 2016-06-27 12:47:51 UTC
(In reply to Mat Booth from comment #2)
> Are you certain that Jython in Fedora is vulnerable to this bug?

I haven't checked Jython implementation, but indeed this looks like CPython specific. For community products, we usually set affected by default and open tracking bugs for package maintainers to check it. So thanks for checking and sorry for the noise, I'm closing this now.

Note You need to log in before you can comment on or make changes to this bug.