UBUNTU-CVE-2015-20107
Dashboard / Vulnerabilities / UBUNTU-CVE-2015-20107
UBUNTU-CVE-2015-20107
Summary:
Details: 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
References: https://ubuntu.com/security/CVE-2015-20107, https://mail.python.org/archives/list/[email protected]/thread/QDSXNCW77UGULFG2JMDFZQ7H4DIR32LA/, https://github.com/python/cpython/pull/91542/commits/340251550897cb98ae83ad1040750d6300112e80, https://github.com/python/cpython/pull/91993, https://github.com/python/cpython/pull/98191, https://ubuntu.com/security/notices/USN-5519-1, https://ubuntu.com/security/notices/USN-5888-1, https://www.cve.org/CVERecord?id=CVE-2015-20107, https://ubuntu.com/security/notices/USN-6891-1
Affected packages
Package
Name: python2.7
Purl: pkg:deb/ubuntu/[email protected]+esm11?arch=source&distro=trusty/esm
Affected ranges
Type: ECOSYSTEM
Events:
