CVE-2018-1000802
python: Command injection in the shutil module
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Red Hat (media), Ubuntu (media).
Descripción
Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in shutil module (make_archive function) that can result in Denial of service, Information gain via injection of arbitrary files on the system or entire drive. This attack appear to be exploitable via Passage of unfiltered user input to the function. This vulnerability appears to have been fixed in after commit add531a1e55b0a739b0f42582f1c9747e5649ace.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 2.0 | python2 | 2.7.15-18.ph2 |
| debian 11 | python2.7 | 2.7.15-5 |
| debian 8 | python2.7, python3.4 | 2.7.9-2+deb8u2 y 1 más |
| debian 9 | python2.7 | 2.7.13-2+deb9u3 |
| ubuntu 14.04 | python2.7, python3.4 | 2.7.6-8ubuntu0.5 y 1 más |
| ubuntu 14.04-ESM | python2.7, python3.4 | 2.7.6-8ubuntu0.5 y 1 más |
| ubuntu 16.04 | python2.7 | 2.7.12-1ubuntu0~16.04.4 |
| ubuntu 16.04-ESM | python2.7 | 2.7.12-1ubuntu0~16.04.4 |
| ubuntu 18.04 | python2.7 | 2.7.15~rc1-1ubuntu0.1 |
| ubuntu 18.04-ESM | python2.7 | 2.7.15~rc1-1ubuntu0.1 |
Mostrar las 13 entradas de 10 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 2.0 | python2 | 2.7.15-18.ph2 |
| debian 11 | python2.7 | 2.7.15-5 |
| 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+deb9u3 |
| ubuntu 14.04 | python2.7 | 2.7.6-8ubuntu0.5 |
| ubuntu 14.04 | python3.4 | 3.4.3-1ubuntu1~14.04.7 |
| ubuntu 14.04-ESM | python2.7 | 2.7.6-8ubuntu0.5 |
| ubuntu 14.04-ESM | python3.4 | 3.4.3-1ubuntu1~14.04.7 |
| ubuntu 16.04 | python2.7 | 2.7.12-1ubuntu0~16.04.4 |
| ubuntu 16.04-ESM | python2.7 | 2.7.12-1ubuntu0~16.04.4 |
| ubuntu 18.04 | python2.7 | 2.7.15~rc1-1ubuntu0.1 |
| ubuntu 18.04-ESM | python2.7 | 2.7.15~rc1-1ubuntu0.1 |
Referencias
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- https://access.redhat.com/security/cve/CVE-2018-1000802
- https://bugs.python.org/issue34540
- https://github.com/python/cpython/pull/8985
- https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- https://mega.nz/#!JUFiCC4R!mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig
Las 17 referencias
- https://mega.nz/#%21JUFiCC4R%21mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000802
- https://security.netapp.com/advisory/ntap-20230309-0002/
- https://ubuntu.com/security/notices/USN-3817-1
- https://ubuntu.com/security/notices/USN-3817-2
- https://usn.ubuntu.com/3817-1/
- https://usn.ubuntu.com/3817-2/
- https://www.cve.org/CVERecord?id=CVE-2018-1000802
- https://www.debian.org/security/2018/dsa-4306