CVE-2015-20107

HIGHCVSS 7.6/10EPSS 6.71%

Last modified

CVE-2015-20107 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. 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). EPSS estimates a 6.71% chance of exploitation in the next 30 days.

Description

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

Metrics

CVSS 3.1
7.6/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

EPSS Probability
6.71%

93.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PythonPython>= 3.7.0, <= 3.7.15
PythonPython>= 3.8.0, <= 3.8.15
PythonPython>= 3.9.0, <= 3.9.15
PythonPython>= 3.10.0, < 3.10.8
NetappActive Iq Unified ManagerAll versions
NetappOntap Select Deploy Administration UtilityAll versions
NetappSnapcenterAll versions
FedoraprojectFedora35
FedoraprojectFedora36
FedoraprojectFedora37

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2015-20107?
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
How severe is CVE-2015-20107?
CVE-2015-20107 has a CVSS score of 7.6/10 (HIGH severity). The EPSS model estimates a 6.71% probability of exploitation in the next 30 days.
How do I fix CVE-2015-20107?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2015-20107?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST