Bugzilla – Bug 1109663
VUL-0: CVE-2018-1000802: python,python3,python27: Command injection in the shutil module
Last modified: 2022-06-10 08:40:30 UTC
rh#1631420 Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in shutil module (make_archive function) that can result in Denial of service, Information gain via injection of arbitrary files on the system or entire drive. This attack appear to be exploitable via Passage of unfiltered user input to the function. This vulnerability appears to have been fixed in after commit add531a1e55b0a739b0f42582f1c9747e5649ace. References: https://bugzilla.redhat.com/show_bug.cgi?id=1631420 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-1000802 http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-1000802.html https://mega.nz/#!JUFiCC4R!mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace https://bugs.python.org/issue34540 https://github.com/python/cpython/pull/8985
According to my analysis the following packages are affected: SUSE:SLE-11-SP1:Update:Teradata/python27 SUSE:SLE-12-SP1:Update/python SUSE:SLE-15:Update/python Not affected: SUSE:SLE-10-SP3:Update/python SUSE:SLE-11-SP1:Update/python SUSE:SLE-12:Update/python3 SUSE:SLE-15:Update/python3 Issue was introduced with upstream commit 48cc8dc958165053af6d52426743db365786c7bb, which first appeared in the 2.7.x branch and does not affect Python 3.
I'm currently adding the patch for this (see https://github.com/python/cpython/pull/8985)
Added patch for Python 2.7 in openSUSE Factory: https://build.opensuse.org/request/show/638747 TODO: Older openSUSE versions also need the patch. I'm resetting ticket state to "NEW" because I don't know the ticket workflow in this product.
(In reply to Michael Ströder from comment #5) > Added patch for Python 2.7 in openSUSE Factory: > https://build.opensuse.org/request/show/638747 > > TODO: Older openSUSE versions also need the patch. > > I'm resetting ticket state to "NEW" because I don't know the ticket workflow > in this product. Could you maybe NOT take over packages suddenly if the tool has a maintainer? We are already processing the updates as needed for the other codestreams, TW was just last on the list...
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/638809 Factory / python
SUSE-SU-2018:3002-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1109663 CVE References: CVE-2018-1000802 Sources used: SUSE Linux Enterprise Module for Desktop Applications 15 (src): python-2.7.14-7.3.1 SUSE Linux Enterprise Module for Basesystem 15 (src): python-2.7.14-7.3.1, python-base-2.7.14-7.3.1
openSUSE-SU-2018:3052-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1109663 CVE References: CVE-2018-1000802 Sources used: openSUSE Leap 15.0 (src): python-2.7.14-lp150.6.3.2, python-base-2.7.14-lp150.6.3.1, python-doc-2.7.14-lp150.6.3.1
SUSE-SU-2018:3554-1: An update that solves three vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 1086001,1088004,1088009,1109663 CVE References: CVE-2018-1000802,CVE-2018-1060,CVE-2018-1061 Sources used: SUSE Linux Enterprise Workstation Extension 12-SP3 (src): python-base-2.7.13-28.16.1 SUSE Linux Enterprise Software Development Kit 12-SP3 (src): python-base-2.7.13-28.16.1 SUSE Linux Enterprise Server 12-SP3 (src): python-2.7.13-28.16.1, python-base-2.7.13-28.16.1, python-doc-2.7.13-28.16.1 SUSE Linux Enterprise Desktop 12-SP3 (src): python-2.7.13-28.16.1, python-base-2.7.13-28.16.1 SUSE Enterprise Storage 5 (src): python-2.7.13-28.16.1 SUSE CaaS Platform ALL (src): python-2.7.13-28.16.1, python-base-2.7.13-28.16.1 SUSE CaaS Platform 3.0 (src): python-2.7.13-28.16.1, python-base-2.7.13-28.16.1 OpenStack Cloud Magnum Orchestration 7 (src): python-2.7.13-28.16.1, python-base-2.7.13-28.16.1
openSUSE-SU-2018:3703-1: An update that solves three vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 1086001,1088004,1088009,1109663 CVE References: CVE-2018-1000802,CVE-2018-1060,CVE-2018-1061 Sources used: openSUSE Leap 42.3 (src): python-2.7.13-27.9.1, python-base-2.7.13-27.9.1, python-doc-2.7.13-27.9.1
SUSE-SU-2018:3554-2: An update that solves three vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 1086001,1088004,1088009,1109663 CVE References: CVE-2018-1000802,CVE-2018-1060,CVE-2018-1061 Sources used: SUSE Linux Enterprise Workstation Extension 12-SP4 (src): python-base-2.7.13-28.16.1 SUSE Linux Enterprise Software Development Kit 12-SP4 (src): python-base-2.7.13-28.16.1 SUSE Linux Enterprise Server 12-SP4 (src): python-2.7.13-28.16.1, python-base-2.7.13-28.16.1, python-doc-2.7.13-28.16.1 SUSE Linux Enterprise Desktop 12-SP4 (src): python-2.7.13-28.16.1, python-base-2.7.13-28.16.1
SUSE-SU-2019:2053-1: An update that fixes three vulnerabilities is now available. Category: security (important) Bug References: 1109663,1109847,1138459 CVE References: CVE-2018-1000802,CVE-2018-14647,CVE-2019-10160 Sources used: SUSE OpenStack Cloud 8 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE OpenStack Cloud 7 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Software Development Kit 12-SP5 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Software Development Kit 12-SP4 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server for SAP 12-SP3 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server for SAP 12-SP2 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server for SAP 12-SP1 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server 12-SP5 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server 12-SP4 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server 12-SP3-LTSS (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server 12-SP2-LTSS (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server 12-SP2-BCL (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server 12-SP1-LTSS (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Module for Web Scripting 12 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Desktop 12-SP5 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Desktop 12-SP4 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Enterprise Storage 5 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Enterprise Storage 4 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.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-2019:2053-2: An update that fixes three vulnerabilities is now available. Category: security (important) Bug References: 1109663,1109847,1138459 CVE References: CVE-2018-1000802,CVE-2018-14647,CVE-2019-10160 Sources used: SUSE OpenStack Cloud Crowbar 8 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server 12-SP3-LTSS (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Linux Enterprise Server 12-SP3-BCL (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 SUSE Enterprise Storage 5 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.1 HPE Helion Openstack 8 (src): python3-3.4.6-25.29.1, python3-base-3.4.6-25.29.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-2020:0114-1: An update that solves 26 vulnerabilities and has 30 fixes is now available. Category: security (important) Bug References: 1027282,1029377,1029902,1040164,1042670,1070853,1079761,1081750,1083507,1086001,1088004,1088009,1088573,1094814,1107030,1109663,1109847,1120644,1122191,1129346,1130840,1133452,1137942,1138459,1141853,1149121,1149792,1149955,1151490,1153238,1159035,1159622,637176,658604,673071,709442,743787,747125,751718,754447,754677,787526,809831,831629,834601,871152,885662,885882,917607,942751,951166,983582,984751,985177,985348,989523 CVE References: CVE-2011-3389,CVE-2011-4944,CVE-2012-0845,CVE-2012-1150,CVE-2013-1752,CVE-2013-4238,CVE-2014-2667,CVE-2014-4650,CVE-2016-0772,CVE-2016-1000110,CVE-2016-5636,CVE-2016-5699,CVE-2017-18207,CVE-2018-1000802,CVE-2018-1060,CVE-2018-1061,CVE-2018-14647,CVE-2018-20406,CVE-2018-20852,CVE-2019-10160,CVE-2019-15903,CVE-2019-16056,CVE-2019-16935,CVE-2019-5010,CVE-2019-9636,CVE-2019-9947 Sources used: SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src): python3-3.6.10-3.42.2, python3-base-3.6.10-3.42.2, python3-doc-3.6.10-3.42.3 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src): python3-3.6.10-3.42.2, python3-base-3.6.10-3.42.2, python3-doc-3.6.10-3.42.3 SUSE Linux Enterprise Module for Development Tools 15-SP1 (src): python3-base-3.6.10-3.42.2 SUSE Linux Enterprise Module for Development Tools 15 (src): python3-base-3.6.10-3.42.2 SUSE Linux Enterprise Module for Basesystem 15-SP1 (src): python3-3.6.10-3.42.2, python3-base-3.6.10-3.42.2 SUSE Linux Enterprise Module for Basesystem 15 (src): python3-3.6.10-3.42.2, python3-base-3.6.10-3.42.2 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.
openSUSE-SU-2020:0086-1: An update that solves 26 vulnerabilities and has 30 fixes is now available. Category: security (important) Bug References: 1027282,1029377,1029902,1040164,1042670,1070853,1079761,1081750,1083507,1086001,1088004,1088009,1088573,1094814,1107030,1109663,1109847,1120644,1122191,1129346,1130840,1133452,1137942,1138459,1141853,1149121,1149792,1149955,1151490,1153238,1159035,1159622,637176,658604,673071,709442,743787,747125,751718,754447,754677,787526,809831,831629,834601,871152,885662,885882,917607,942751,951166,983582,984751,985177,985348,989523 CVE References: CVE-2011-3389,CVE-2011-4944,CVE-2012-0845,CVE-2012-1150,CVE-2013-1752,CVE-2013-4238,CVE-2014-2667,CVE-2014-4650,CVE-2016-0772,CVE-2016-1000110,CVE-2016-5636,CVE-2016-5699,CVE-2017-18207,CVE-2018-1000802,CVE-2018-1060,CVE-2018-1061,CVE-2018-14647,CVE-2018-20406,CVE-2018-20852,CVE-2019-10160,CVE-2019-15903,CVE-2019-16056,CVE-2019-16935,CVE-2019-5010,CVE-2019-9636,CVE-2019-9947 Sources used: openSUSE Leap 15.1 (src): python3-3.6.10-lp151.6.7.1, python3-base-3.6.10-lp151.6.7.1
SUSE-SU-2020:0302-1: An update that solves 10 vulnerabilities and has 11 fixes is now available. Category: security (important) Bug References: 1027282,1029377,1081750,1083507,1086001,1088009,1094814,1109663,1137942,1138459,1141853,1149121,1149429,1149792,1149955,1151490,1159035,1159622,709442,951166,983582 CVE References: CVE-2017-18207,CVE-2018-1000802,CVE-2018-1060,CVE-2018-20852,CVE-2019-10160,CVE-2019-15903,CVE-2019-16056,CVE-2019-5010,CVE-2019-9636,CVE-2019-9947 Sources used: SUSE Linux Enterprise Server 12-SP5 (src): python36-3.6.10-4.3.5, python36-base-3.6.10-4.3.5 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
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/851367 Factory / python36
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/852415 Factory / python36
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/853277 Factory / python36
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/853314 Factory / python36
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/856737 Factory / python36
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/923499 Factory / python36
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/926876 Factory / python36
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/951983 Factory / python
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/953031 Factory / python
This is an autogenerated message for OBS integration: This bug (1109663) was mentioned in https://build.opensuse.org/request/show/981989 Factory / python