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.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Link | Tags |
---|---|
https://www.debian.org/security/2018/dsa-4306 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html | third party advisory mailing list |
https://usn.ubuntu.com/3817-2/ | third party advisory vendor advisory |
https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace | patch vendor advisory |
https://mega.nz/#%21JUFiCC4R%21mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig | |
https://github.com/python/cpython/pull/8985 | patch vendor advisory |
https://usn.ubuntu.com/3817-1/ | third party advisory vendor advisory |
https://bugs.python.org/issue34540 | issue tracking patch vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html | third party advisory mailing list |
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html | mailing list third party advisory vendor advisory |
https://security.netapp.com/advisory/ntap-20230309-0002/ |