Command injection in CPython 2.7 shutil.make_archive
CVE-2018-1000802 is a command-injection vulnerability in the shutil.make_archive function in CPython 2.7. Passing unfiltered user-controlled input to the function can cause denial of service or information disclosure by injecting arbitrary system files or an entire drive into an archive.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Exploitation can cause denial of service and disclose information by including arbitrary system files or an entire drive in an archive. F5 products were evaluated and found not to be affected.
If you can’t patch tonight, do this now.
Avoid passing untrusted, unfiltered input to shutil.make_archive. Restrict inputs to trusted values or validate them against a strict allowlist. No mitigation is required for unaffected F5 products.
Patch, then assume compromise.
Apply the upstream fix associated with commit add531a1e55b0a739b0f42582f1c9747e5649ace, or upgrade to a release verified to include it. A specific fixed release version is not identified. No remediation is required for unaffected F5 products.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.