Arbitrary Command Injection Affecting python3.9 package, versions *



    Attack Complexity Low
    Integrity High
Expand this section
7.6 high
Expand this section
7.1 high
Expand this section
Red Hat
7.6 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN11-PYTHON39-2764968
  • published 15 Apr 2022
  • disclosed 13 Apr 2022

How to fix?

There is no fixed version for Debian:11 python3.9.

NVD Description

Note: Versions mentioned in the description apply to the upstream python3.9 package.

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9