CVE-2017-1000158
python: Integer overflow in PyString_DecodeEscape results in heap-base buffer overflow
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, Photon OS. Plus basse selon Red Hat (moyenne), Amazon (moyenne), Ubuntu (moyenne).
Description
CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| Photon OS 1.0 | python2 | 2.7.13-4.ph1 |
| Photon OS 2.0 | python2 | 2.7.13-11.ph2 |
| alpine 3.4 | python | 2.7.14-r0 |
| alpine 3.5 | python2 | 2.7.14-r0 |
| alpine 3.6 | python2 | 2.7.14-r0 |
| amazon linux 1 | python27, python27-debuginfo, python27-devel et 15 autres | 2.7.13-2.122.amzn1 et 2 autres |
| debian 11 | python2.7 | 2.7.13-4 |
| debian 7 | python2.6, python2.7 | 2.6.8-1.1+deb7u1 et 1 autres |
| debian 8 | python2.7, python3.4 | 2.7.9-2+deb8u2 et 1 autres |
| debian 9 | python2.7, python3.5 | 2.7.13-2+deb9u2 et 1 autres |
| Red Hat | python, python-debug, python-devel et 25 autres | pas de correctif indiqué |
| seal Red Hat 7 | python, seal-python | 2.7.5-92.el7_9+sp999 |
Afficher les 72 entrées de 17 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| Photon OS 1.0 | python2 | 2.7.13-4.ph1 |
| Photon OS 2.0 | python2 | 2.7.13-11.ph2 |
| alpine 3.4 | python | 2.7.14-r0 |
| alpine 3.5 | python2 | 2.7.14-r0 |
| alpine 3.6 | python2 | 2.7.14-r0 |
| amazon linux 1 | python27 | 2.7.13-2.122.amzn1 |
| amazon linux 1 | python27-debuginfo | 2.7.13-2.122.amzn1 |
| amazon linux 1 | python27-devel | 2.7.13-2.122.amzn1 |
| amazon linux 1 | python27-libs | 2.7.13-2.122.amzn1 |
| amazon linux 1 | python27-test | 2.7.13-2.122.amzn1 |
| amazon linux 1 | python27-tools | 2.7.13-2.122.amzn1 |
| amazon linux 1 | python34 | 3.4.7-1.37.amzn1 |
| amazon linux 1 | python34-debuginfo | 3.4.7-1.37.amzn1 |
| amazon linux 1 | python34-devel | 3.4.7-1.37.amzn1 |
| amazon linux 1 | python34-libs | 3.4.7-1.37.amzn1 |
| amazon linux 1 | python34-test | 3.4.7-1.37.amzn1 |
| amazon linux 1 | python34-tools | 3.4.7-1.37.amzn1 |
| amazon linux 1 | python35 | 3.5.4-13.10.amzn1 |
| amazon linux 1 | python35-debuginfo | 3.5.4-13.10.amzn1 |
| amazon linux 1 | python35-devel | 3.5.4-13.10.amzn1 |
| amazon linux 1 | python35-libs | 3.5.4-13.10.amzn1 |
| amazon linux 1 | python35-test | 3.5.4-13.10.amzn1 |
| amazon linux 1 | python35-tools | 3.5.4-13.10.amzn1 |
| debian 11 | python2.7 | 2.7.13-4 |
| debian 7 | python2.6 | 2.6.8-1.1+deb7u1 |
| debian 7 | python2.7 | 2.7.3-6+deb7u4 |
| debian 8 | python2.7 | 2.7.9-2+deb8u2 |
| debian 8 | python3.4 | 3.4.2-1+deb8u1 |
| debian 9 | python2.7 | 2.7.13-2+deb9u2 |
| debian 9 | python3.5 | 3.5.3-1+deb9u1 |
| Red Hat | python | pas de correctif indiqué |
| Red Hat | python-debug | pas de correctif indiqué |
| Red Hat | python-devel | pas de correctif indiqué |
| Red Hat | python-libs | pas de correctif indiqué |
| Red Hat | python-test | pas de correctif indiqué |
| Red Hat | python-tools | pas de correctif indiqué |
| Red Hat | python27-python | pas de correctif indiqué |
| Red Hat | python27-python-debug | pas de correctif indiqué |
| Red Hat | python27-python-devel | pas de correctif indiqué |
| Red Hat | python27-python-libs | pas de correctif indiqué |
| Red Hat | python27-python-test | pas de correctif indiqué |
| Red Hat | python27-python-tools | pas de correctif indiqué |
| Red Hat | python27-tkinter | pas de correctif indiqué |
| Red Hat | rh-python34-python | pas de correctif indiqué |
| Red Hat | rh-python34-python-debug | pas de correctif indiqué |
| Red Hat | rh-python34-python-devel | pas de correctif indiqué |
| Red Hat | rh-python34-python-libs | pas de correctif indiqué |
| Red Hat | rh-python34-python-test | pas de correctif indiqué |
| Red Hat | rh-python34-python-tkinter | pas de correctif indiqué |
| Red Hat | rh-python34-python-tools | pas de correctif indiqué |
| Red Hat | rh-python35-python | pas de correctif indiqué |
| Red Hat | rh-python35-python-debug | pas de correctif indiqué |
| Red Hat | rh-python35-python-devel | pas de correctif indiqué |
| Red Hat | rh-python35-python-libs | pas de correctif indiqué |
| Red Hat | rh-python35-python-test | pas de correctif indiqué |
| Red Hat | rh-python35-python-tkinter | pas de correctif indiqué |
| Red Hat | rh-python35-python-tools | pas de correctif indiqué |
| Red Hat | tkinter | pas de correctif indiqué |
| 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 14.04 | python2.7 | 2.7.6-8ubuntu0.4 |
| ubuntu 14.04 | python3.4 | 3.4.3-1ubuntu1~14.04.6 |
| 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.4 |
| ubuntu 14.04-ESM | python3.4 | 3.4.3-1ubuntu1~14.04.6 |
| 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.2 |
| ubuntu 16.04 | python3.5 | 3.5.2-2ubuntu0~16.04.4 |
| ubuntu 16.04-ESM | python2.7 | 2.7.12-1ubuntu0~16.04.2 |
| ubuntu 16.04-ESM | python3.5 | 3.5.2-2ubuntu0~16.04.4 |
| ubuntu 17.04 | python2.7 | 2.7.13-2ubuntu0.1 |
| ubuntu 17.04 | python3.5 | 3.5.3-1ubuntu0~17.04.2 |
Références
- http://python-security.readthedocs.io/vuln/cve-2017-1000158_pystring_decodeescape_integer_overflow.html
- http://www.securitytracker.com/id/1039890
- https://access.redhat.com/security/cve/CVE-2017-1000158
- https://bugs.python.org/issue30657
- https://github.com/python/cpython/commit/c3c9db89273fabc62ea1b48389d9a3000c1c03ae
- https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html
- https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
Les 17 références
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000158
- https://security.gentoo.org/glsa/201805-02
- https://security.netapp.com/advisory/ntap-20230216-0001/
- https://ubuntu.com/security/notices/USN-3496-1
- https://ubuntu.com/security/notices/USN-3496-2
- https://ubuntu.com/security/notices/USN-3496-3
- https://www.cve.org/CVERecord?id=CVE-2017-1000158
- https://www.debian.org/security/2018/dsa-4307