CVE-2016-5636: 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...
Critical CVSS 9.8
- CVE id
- CVE-2016-5636
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Python Runtimes and servers |
<= 2.7.11 | after 2.7.11 |
How to fix it
Upgrade Python to a release newer than 2.7.11.
python --version
- Install the patched Python release of your minor line (pyenv, the python image tag, or your OS packages) and recreate virtual environments.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2016-5636 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2016-5636
- Web: https://bugs.python.org/issue26171
- Web: https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5
- Web: https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2
- Web: https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS
- Web: https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html
- Web: https://security.gentoo.org/glsa/201701-18
- Web: https://bugs.python.org/issue26171
- Web: https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5
- Web: https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2
- Web: https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS
- Web: https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html
- Web: https://security.gentoo.org/glsa/201701-18
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.