CVE-2017-1000158
python: Integer overflow in PyString_DecodeEscape results in heap-base buffer overflow
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Photon OS. Niedriger laut Red Hat (mittel), Amazon (mittel), Ubuntu (mittel).
Beschreibung
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)
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| 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 und 15 weitere | 2.7.13-2.122.amzn1 und 2 weitere |
| debian 11 | python2.7 | 2.7.13-4 |
| debian 7 | python2.6, python2.7 | 2.6.8-1.1+deb7u1 und 1 weitere |
| debian 8 | python2.7, python3.4 | 2.7.9-2+deb8u2 und 1 weitere |
| debian 9 | python2.7, python3.5 | 2.7.13-2+deb9u2 und 1 weitere |
| Red Hat | python, python-debug, python-devel und 25 weitere | kein Fix angegeben |
| seal Red Hat 7 | python, seal-python | 2.7.5-92.el7_9+sp999 |
Alle 72 Einträge aus 17 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| 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 | kein Fix angegeben |
| Red Hat | python-debug | kein Fix angegeben |
| Red Hat | python-devel | kein Fix angegeben |
| Red Hat | python-libs | kein Fix angegeben |
| Red Hat | python-test | kein Fix angegeben |
| Red Hat | python-tools | kein Fix angegeben |
| Red Hat | python27-python | kein Fix angegeben |
| Red Hat | python27-python-debug | kein Fix angegeben |
| Red Hat | python27-python-devel | kein Fix angegeben |
| Red Hat | python27-python-libs | kein Fix angegeben |
| Red Hat | python27-python-test | kein Fix angegeben |
| Red Hat | python27-python-tools | kein Fix angegeben |
| Red Hat | python27-tkinter | kein Fix angegeben |
| Red Hat | rh-python34-python | kein Fix angegeben |
| Red Hat | rh-python34-python-debug | kein Fix angegeben |
| Red Hat | rh-python34-python-devel | kein Fix angegeben |
| Red Hat | rh-python34-python-libs | kein Fix angegeben |
| Red Hat | rh-python34-python-test | kein Fix angegeben |
| Red Hat | rh-python34-python-tkinter | kein Fix angegeben |
| Red Hat | rh-python34-python-tools | kein Fix angegeben |
| Red Hat | rh-python35-python | kein Fix angegeben |
| Red Hat | rh-python35-python-debug | kein Fix angegeben |
| Red Hat | rh-python35-python-devel | kein Fix angegeben |
| Red Hat | rh-python35-python-libs | kein Fix angegeben |
| Red Hat | rh-python35-python-test | kein Fix angegeben |
| Red Hat | rh-python35-python-tkinter | kein Fix angegeben |
| Red Hat | rh-python35-python-tools | kein Fix angegeben |
| Red Hat | tkinter | kein Fix angegeben |
| 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 |
Referenzen
- 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
Alle 17 Referenzen
- 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