CVE-2016-5636
python: Heap overflow in zipimporter module
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (medium), Ubuntu (medium), Red Hat (low), Oracle (low).
Description
Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 allows remote attackers to have unspecified impact via a negative data size value, which triggers a heap-based buffer overflow.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | python26, python26-debuginfo, python26-devel and 15 more | 2.6.9-2.86.amzn1 and 2 more |
| debian 11 | python2.7 | 2.7.12~rc1-1 |
| debian 7 | python2.7 | 2.7.3-6+deb7u3 |
| debian 8 | python2.7, python3.4 | 2.7.9-2+deb8u1 and 1 more |
| Oracle Linux 7 | python, python-debug, python-devel and 4 more | 2.7.5-48.0.1.el7 |
| rapidfort fedora 43 | python3.15, python3.15-debug, python3.15-devel and 11 more | 3.15.0-1.fc43 |
| Red Hat | python, python-devel, python-libs and 31 more | no fix listed |
| seal Red Hat 7 | python, seal-python | 2.7.5-92.el7_9+sp999 |
| ubuntu 12.04 | python2.7, python3.2 | 2.7.3-0ubuntu3.9 and 1 more |
| ubuntu 14.04 | python2.7, python3.4, python3.5 | 2.7.6-8ubuntu0.3 and 2 more |
| ubuntu 14.04-ESM | python2.7, python3.4, python3.5 | 2.7.6-8ubuntu0.3 and 2 more |
| ubuntu 16.04 | python2.7, python3.5 | 2.7.12-1ubuntu0~16.04.1 and 1 more |
Show all 91 entries from 13 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | python26 | 2.6.9-2.86.amzn1 |
| amazon linux 1 | python26-debuginfo | 2.6.9-2.86.amzn1 |
| amazon linux 1 | python26-devel | 2.6.9-2.86.amzn1 |
| amazon linux 1 | python26-libs | 2.6.9-2.86.amzn1 |
| amazon linux 1 | python26-test | 2.6.9-2.86.amzn1 |
| amazon linux 1 | python26-tools | 2.6.9-2.86.amzn1 |
| amazon linux 1 | python27 | 2.7.10-4.122.amzn1 |
| amazon linux 1 | python27-debuginfo | 2.7.10-4.122.amzn1 |
| amazon linux 1 | python27-devel | 2.7.10-4.122.amzn1 |
| amazon linux 1 | python27-libs | 2.7.10-4.122.amzn1 |
| amazon linux 1 | python27-test | 2.7.10-4.122.amzn1 |
| amazon linux 1 | python27-tools | 2.7.10-4.122.amzn1 |
| amazon linux 1 | python34 | 3.4.3-1.32.amzn1 |
| amazon linux 1 | python34-debuginfo | 3.4.3-1.32.amzn1 |
| amazon linux 1 | python34-devel | 3.4.3-1.32.amzn1 |
| amazon linux 1 | python34-libs | 3.4.3-1.32.amzn1 |
| amazon linux 1 | python34-test | 3.4.3-1.32.amzn1 |
| amazon linux 1 | python34-tools | 3.4.3-1.32.amzn1 |
| debian 11 | python2.7 | 2.7.12~rc1-1 |
| debian 7 | python2.7 | 2.7.3-6+deb7u3 |
| debian 8 | python2.7 | 2.7.9-2+deb8u1 |
| debian 8 | python3.4 | 3.4.2-1+deb8u2 |
| Oracle Linux 7 | python | 2.7.5-48.0.1.el7 |
| Oracle Linux 7 | python-debug | 2.7.5-48.0.1.el7 |
| Oracle Linux 7 | python-devel | 2.7.5-48.0.1.el7 |
| Oracle Linux 7 | python-libs | 2.7.5-48.0.1.el7 |
| Oracle Linux 7 | python-test | 2.7.5-48.0.1.el7 |
| Oracle Linux 7 | python-tools | 2.7.5-48.0.1.el7 |
| Oracle Linux 7 | tkinter | 2.7.5-48.0.1.el7 |
| rapidfort fedora 43 | python3.15 | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-debug | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-devel | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-freethreading | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-freethreading-debug | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-freethreading-devel | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-freethreading-idle | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-freethreading-libs | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-freethreading-test | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-freethreading-tkinter | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-idle | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-libs | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-test | 3.15.0-1.fc43 |
| rapidfort fedora 43 | python3.15-tkinter | 3.15.0-1.fc43 |
| Red Hat | python | no fix listed |
| Red Hat | python-devel | no fix listed |
| Red Hat | python-libs | no fix listed |
| Red Hat | python-test | no fix listed |
| Red Hat | python-tools | no fix listed |
| Red Hat | python27-python | no fix listed |
| Red Hat | python27-python-debug | no fix listed |
| Red Hat | python27-python-devel | no fix listed |
| Red Hat | python27-python-libs | no fix listed |
| Red Hat | python27-python-test | no fix listed |
| Red Hat | python27-python-tools | no fix listed |
| Red Hat | python27-tkinter | no fix listed |
| Red Hat | python33-python | no fix listed |
| Red Hat | python33-python-debug | no fix listed |
| Red Hat | python33-python-devel | no fix listed |
| Red Hat | python33-python-libs | no fix listed |
| Red Hat | python33-python-test | no fix listed |
| Red Hat | python33-python-tkinter | no fix listed |
| Red Hat | python33-python-tools | no fix listed |
| Red Hat | rh-python34-python | no fix listed |
| Red Hat | rh-python34-python-debug | no fix listed |
| Red Hat | rh-python34-python-devel | no fix listed |
| Red Hat | rh-python34-python-libs | no fix listed |
| Red Hat | rh-python34-python-test | no fix listed |
| Red Hat | rh-python34-python-tkinter | no fix listed |
| Red Hat | rh-python34-python-tools | no fix listed |
| Red Hat | rh-python35-python | no fix listed |
| Red Hat | rh-python35-python-debug | no fix listed |
| Red Hat | rh-python35-python-devel | no fix listed |
| Red Hat | rh-python35-python-libs | no fix listed |
| Red Hat | rh-python35-python-test | no fix listed |
| Red Hat | rh-python35-python-tkinter | no fix listed |
| Red Hat | rh-python35-python-tools | no fix listed |
| Red Hat | tkinter | no fix listed |
| seal Red Hat 7 | python | 2.7.5-92.el7_9+sp999 |
| seal Red Hat 7 | seal-python | 2.7.5-92.el7_9+sp999 |
| ubuntu 12.04 | python2.7 | 2.7.3-0ubuntu3.9 |
| ubuntu 12.04 | python3.2 | 3.2.3-0ubuntu3.8 |
| ubuntu 14.04 | python2.7 | 2.7.6-8ubuntu0.3 |
| ubuntu 14.04 | python3.4 | 3.4.3-1ubuntu1~14.04.5 |
| ubuntu 14.04 | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1 |
| ubuntu 14.04-ESM | python2.7 | 2.7.6-8ubuntu0.3 |
| ubuntu 14.04-ESM | python3.4 | 3.4.3-1ubuntu1~14.04.5 |
| ubuntu 14.04-ESM | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1 |
| ubuntu 16.04 | python2.7 | 2.7.12-1ubuntu0~16.04.1 |
| ubuntu 16.04 | python3.5 | 3.5.2-2ubuntu0~16.04.1 |
| ubuntu 16.04-ESM | python2.7 | 2.7.12-1ubuntu0~16.04.1 |
| ubuntu 16.04-ESM | python3.5 | 3.5.2-2ubuntu0~16.04.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- http://rhn.redhat.com/errata/RHSA-2016-2586.html
- http://www.openwall.com/lists/oss-security/2016/06/15/15
- http://www.openwall.com/lists/oss-security/2016/06/16/1
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://www.securityfocus.com/bid/91247
- http://www.securitytracker.com/id/1038138
- http://www.splunk.com/view/SP-CAAAPSV
All 22 references
- http://www.splunk.com/view/SP-CAAAPUE
- https://access.redhat.com/security/cve/CVE-2016-5636
- https://bugs.python.org/issue26171
- https://bugs.python.org/msg278228
- https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5
- https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2
- https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS
- https://linux.oracle.com/cve/CVE-2016-5636.html
- https://linux.oracle.com/errata/ELSA-2016-2586.html
- https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-5636
- https://security.gentoo.org/glsa/201701-18
- https://ubuntu.com/security/notices/USN-3134-1
- https://www.cve.org/CVERecord?id=CVE-2016-5636