CVE-2018-1000802
python: Command injection in the shutil module
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, Photon OS. Plus basse selon Red Hat (moyenne), Ubuntu (moyenne).
Description
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé 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 et 1 autres |
| debian 9 | python2.7 | 2.7.13-2+deb9u3 |
| ubuntu 14.04 | python2.7, python3.4 | 2.7.6-8ubuntu0.5 et 1 autres |
| ubuntu 14.04-ESM | python2.7, python3.4 | 2.7.6-8ubuntu0.5 et 1 autres |
| 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 |
Afficher les 13 entrées de 10 sources
| Source | Paquet | Corrigé 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 |
Références
- 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
Les 17 références
- 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