Bugzilla – Bug 1198511
VUL-0: CVE-2015-20107: python3,python36,python,python310,python39,python27: command injection in the mailcap module
Last modified: 2022-11-17 16:13:12 UTC
In Python (aka CPython) through 3.10.4, 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). References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-20107 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-20107 https://github.com/python/cpython/issues/68966 https://bugs.python.org/issue24778
Issue was reported in 2015, all currently supported python versions are affected. No patch for now, the proposed one [0] does not completely fix the vulnerability [1] and will probably break some use cases [2]. Seems that upstream wants to deprecate/remove the module in python 3.13 [2][3]. Full discussion about this can be found here [4]. [0] https://github.com/python/cpython/pull/91542 [1] https://github.com/python/cpython/pull/91542#issuecomment-1099733985 [2] https://github.com/python/cpython/pull/91542#issuecomment-1099740560 [3] https://mail.python.org/archives/list/python-dev@python.org/thread/EB2BS4DBWSTBIOPQL5QTBSIOBORWSCMJ/ [4] https://github.com/python/cpython/pull/91542
This is an autogenerated message for OBS integration: This bug (1198511) was mentioned in https://build.opensuse.org/request/show/981989 Factory / python
Builds fixed and patches applied.
This is an autogenerated message for OBS integration: This bug (1198511) was mentioned in https://build.opensuse.org/request/show/983632 Factory / python39
This is an autogenerated message for OBS integration: This bug (1198511) was mentioned in https://build.opensuse.org/request/show/983936 Factory / python310
SUSE-SU-2022:2147-1: An update that fixes one vulnerability is now available. Category: security (important) Bug References: 1198511 CVE References: CVE-2015-20107 JIRA References: Sources used: SUSE Linux Enterprise Software Development Kit 12-SP5 (src): python36-core-3.6.15-24.1 SUSE Linux Enterprise Server 12-SP5 (src): python36-3.6.15-24.1, python36-core-3.6.15-24.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2166-1: An update that solves one vulnerability and has two fixes is now available. Category: security (important) Bug References: 1070738,1198511,1199441 CVE References: CVE-2015-20107 JIRA References: Sources used: SUSE OpenStack Cloud Crowbar 9 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE OpenStack Cloud Crowbar 8 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE OpenStack Cloud 9 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE OpenStack Cloud 8 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Software Development Kit 12-SP5 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Server for SAP 12-SP4 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Server for SAP 12-SP3 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Server 12-SP5 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Server 12-SP4-LTSS (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Server 12-SP3-LTSS (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Server 12-SP3-BCL (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Server 12-SP2-BCL (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 SUSE Linux Enterprise Module for Web Scripting 12 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 HPE Helion Openstack 8 (src): python3-3.4.10-25.93.1, python3-base-3.4.10-25.93.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2174-1: An update that solves one vulnerability, contains one feature and has one errata is now available. Category: security (important) Bug References: 1192249,1198511 CVE References: CVE-2015-20107 JIRA References: SLE-21253 Sources used: openSUSE Leap 15.4 (src): python39-3.9.13-150300.4.13.1, python39-core-3.9.13-150300.4.13.1, python39-documentation-3.9.13-150300.4.13.1 openSUSE Leap 15.3 (src): python39-3.9.13-150300.4.13.1, python39-core-3.9.13-150300.4.13.1, python39-documentation-3.9.13-150300.4.13.1 SUSE Linux Enterprise Module for Development Tools 15-SP3 (src): python39-core-3.9.13-150300.4.13.1 SUSE Linux Enterprise Module for Basesystem 15-SP3 (src): python39-3.9.13-150300.4.13.1, python39-core-3.9.13-150300.4.13.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2248-1: An update that fixes one vulnerability is now available. Category: security (important) Bug References: 1198511 CVE References: CVE-2015-20107 JIRA References: Sources used: SUSE OpenStack Cloud Crowbar 9 (src): python-2.7.18-33.11.1, python-base-2.7.18-33.11.1, python-doc-2.7.18-33.11.1 SUSE OpenStack Cloud 9 (src): python-2.7.18-33.11.1, python-base-2.7.18-33.11.1, python-doc-2.7.18-33.11.1 SUSE Linux Enterprise Workstation Extension 12-SP5 (src): python-base-2.7.18-33.11.1 SUSE Linux Enterprise Server for SAP 12-SP4 (src): python-2.7.18-33.11.1, python-base-2.7.18-33.11.1, python-doc-2.7.18-33.11.1 SUSE Linux Enterprise Server 12-SP5 (src): python-2.7.18-33.11.1, python-base-2.7.18-33.11.1, python-doc-2.7.18-33.11.1 SUSE Linux Enterprise Server 12-SP4-LTSS (src): python-2.7.18-33.11.1, python-base-2.7.18-33.11.1, python-doc-2.7.18-33.11.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2249-1: An update that fixes one vulnerability is now available. Category: security (important) Bug References: 1198511 CVE References: CVE-2015-20107 JIRA References: Sources used: SUSE OpenStack Cloud Crowbar 8 (src): python-2.7.18-28.87.1, python-base-2.7.18-28.87.1, python-doc-2.7.18-28.87.1 SUSE OpenStack Cloud 8 (src): python-2.7.18-28.87.1, python-base-2.7.18-28.87.1, python-doc-2.7.18-28.87.1 SUSE Linux Enterprise Server for SAP 12-SP3 (src): python-2.7.18-28.87.1, python-base-2.7.18-28.87.1, python-doc-2.7.18-28.87.1 SUSE Linux Enterprise Server 12-SP3-LTSS (src): python-2.7.18-28.87.1, python-base-2.7.18-28.87.1, python-doc-2.7.18-28.87.1 SUSE Linux Enterprise Server 12-SP3-BCL (src): python-2.7.18-28.87.1, python-base-2.7.18-28.87.1, python-doc-2.7.18-28.87.1 SUSE Linux Enterprise Server 12-SP2-BCL (src): python-2.7.18-28.87.1, python-base-2.7.18-28.87.1, python-doc-2.7.18-28.87.1 HPE Helion Openstack 8 (src): python-2.7.18-28.87.1, python-base-2.7.18-28.87.1, python-doc-2.7.18-28.87.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2291-1: An update that fixes one vulnerability is now available. Category: security (important) Bug References: 1198511 CVE References: CVE-2015-20107 JIRA References: Sources used: openSUSE Leap 15.4 (src): python310-3.10.5-150400.4.7.1, python310-core-3.10.5-150400.4.7.1, python310-documentation-3.10.5-150400.4.7.1 SUSE Linux Enterprise Module for Python3 15-SP4 (src): python310-3.10.5-150400.4.7.1, python310-core-3.10.5-150400.4.7.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2344-1: An update that fixes one vulnerability is now available. Category: security (important) Bug References: 1198511 CVE References: CVE-2015-20107 JIRA References: Sources used: openSUSE Leap 15.4 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1, python-doc-2.7.18-150000.41.1 openSUSE Leap 15.3 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1, python-doc-2.7.18-150000.41.1 SUSE Manager Server 4.1 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Manager Retail Branch Server 4.1 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Manager Proxy 4.1 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Server for SAP 15-SP2 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Server for SAP 15-SP1 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Server for SAP 15 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Server 15-SP2-LTSS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Server 15-SP2-BCL (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Server 15-SP1-LTSS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Server 15-SP1-BCL (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Server 15-LTSS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Module for Python2 15-SP3 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise Module for Desktop Applications 15-SP3 (src): python-2.7.18-150000.41.1 SUSE Linux Enterprise Module for Basesystem 15-SP3 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise High Performance Computing 15-LTSS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Linux Enterprise High Performance Computing 15-ESPOS (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Enterprise Storage 7 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE Enterprise Storage 6 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 SUSE CaaS Platform 4.0 (src): python-2.7.18-150000.41.1, python-base-2.7.18-150000.41.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2351-1: An update that solves two vulnerabilities and has three fixes is now available. Category: security (important) Bug References: 1186819,1190566,1192249,1193179,1198511 CVE References: CVE-2015-20107,CVE-2021-3572 JIRA References: Sources used: SUSE Manager Server 4.1 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Manager Retail Branch Server 4.1 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Manager Proxy 4.1 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Server for SAP 15-SP2 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Server for SAP 15-SP1 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Server for SAP 15 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Server 15-SP2-LTSS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Server 15-SP2-BCL (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Server 15-SP1-LTSS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Server 15-SP1-BCL (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Server 15-LTSS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise Micro 5.1 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise High Performance Computing 15-LTSS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Linux Enterprise High Performance Computing 15-ESPOS (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Enterprise Storage 7 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE Enterprise Storage 6 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 SUSE CaaS Platform 4.0 (src): python3-3.6.15-150000.3.106.1, python3-core-3.6.15-150000.3.106.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2357-1: An update that fixes one vulnerability is now available. Category: security (important) Bug References: 1198511 CVE References: CVE-2015-20107 JIRA References: Sources used: openSUSE Leap 15.4 (src): python3-3.6.15-150300.10.27.1, python3-core-3.6.15-150300.10.27.1, python3-documentation-3.6.15-150300.10.27.1 openSUSE Leap 15.3 (src): python3-3.6.15-150300.10.27.1, python3-core-3.6.15-150300.10.27.1, python3-documentation-3.6.15-150300.10.27.1 SUSE Linux Enterprise Module for Development Tools 15-SP4 (src): python3-core-3.6.15-150300.10.27.1 SUSE Linux Enterprise Module for Development Tools 15-SP3 (src): python3-core-3.6.15-150300.10.27.1 SUSE Linux Enterprise Module for Basesystem 15-SP4 (src): python3-3.6.15-150300.10.27.1, python3-core-3.6.15-150300.10.27.1 SUSE Linux Enterprise Module for Basesystem 15-SP3 (src): python3-3.6.15-150300.10.27.1, python3-core-3.6.15-150300.10.27.1 SUSE Linux Enterprise Micro 5.2 (src): python3-3.6.15-150300.10.27.1, python3-core-3.6.15-150300.10.27.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Done.
SUSE-SU-2022:2357-2: An update that fixes one vulnerability is now available. Category: security (important) Bug References: 1198511 CVE References: CVE-2015-20107 JIRA References: Sources used: openSUSE Leap Micro 5.2 (src): python3-3.6.15-150300.10.27.1, python3-core-3.6.15-150300.10.27.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.