Upstream information

CVE-2018-1000030 at MITRE

Description

Python 2.7.14 is vulnerable to a Heap-Buffer-Overflow as well as a Heap-Use-After-Free. Python versions prior to 2.7.14 may also be vulnerable and it appears that Python 2.7.17 and prior may also be vulnerable however this has not been confirmed. The vulnerability lies when multiply threads are handling large amounts of data. In both cases there is essentially a race condition that occurs. For the Heap-Buffer-Overflow, Thread 2 is creating the size for a buffer, but Thread1 is already writing to the buffer without knowing how much to write. So when a large amount of data is being processed, it is very easy to cause memory corruption using a Heap-Buffer-Overflow. As for the Use-After-Free, Thread3->Malloc->Thread1->Free's->Thread2-Re-uses-Free'd Memory. The PSRT has stated that this is not a security vulnerability due to the fact that the attacker must be able to run code, however in some situations, such as function as a service, this vulnerability can potentially be used by an attacker to violate a trust boundary, as such the DWF feels this issue deserves a CVE.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 3.3
Vector AV:L/AC:M/Au:N/C:P/I:N/A:P
Access Vector Local
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 3.6 7
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Access Vector Local Local
Access Complexity High High
Privileges Required Low Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact Low High
Integrity Impact None High
Availability Impact Low High
CVSSv3 Version 3.1 3

Note from the SUSE Security Team

SUSE does not consider this as a security issue. For older python versions the backport to fix this would risk introducing regressions and will not be added.

SUSE Bugzilla entry: 1079300 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container caasp/v4/dnsmasq-nanny:2.78
  • libpython2_7-1_0 >= 2.7.13-28.3.2
  • python >= 2.7.13-28.3.2
  • python-base >= 2.7.13-28.3.2
Container caasp/v4/salt-api:beta1
Container caasp/v4/salt-master:beta1
Container caasp/v4/salt-minion:beta1
  • libpython2_7-1_0 >= 2.7.13-28.3.2
  • python >= 2.7.13-28.3.2
  • python-base >= 2.7.13-28.3.2
  • python-xml >= 2.7.13-28.3.2
Openstack Cloud Magnum Orchestration 7
  • libpython2_7-1_0 >= 2.7.13-28.3.2
  • python >= 2.7.13-28.3.2
  • python-base >= 2.7.13-28.3.2
  • python-xml >= 2.7.13-28.3.2
Patchnames:
SUSE-OpenStack-Cloud-Magnum-Orchestration-7-2018-964
SUSE CaaS Platform ALL
  • libpython2_7-1_0 >= 2.7.13-28.3.2
  • python >= 2.7.13-28.3.2
  • python-base >= 2.7.13-28.3.2
  • python-xml >= 2.7.13-28.3.2
Patchnames:
SUSE-CAASP-ALL-2018-964
SUSE Enterprise Storage 5
  • python-strict-tls-check >= 2.7.13-28.3.2
Patchnames:
SUSE-Storage-5-2018-964
SUSE Linux Enterprise Desktop 12 SP3
  • libpython2_7-1_0 >= 2.7.13-28.3.2
  • libpython2_7-1_0-32bit >= 2.7.13-28.3.2
  • python >= 2.7.13-28.3.2
  • python-base >= 2.7.13-28.3.2
  • python-curses >= 2.7.13-28.3.2
  • python-devel >= 2.7.13-28.3.2
  • python-tk >= 2.7.13-28.3.2
  • python-xml >= 2.7.13-28.3.2
Patchnames:
SUSE-SLE-DESKTOP-12-SP3-2018-964
SUSE Linux Enterprise Desktop 12 SP4
  • libpython2_7-1_0 >= 2.7.13-28.11.2
  • libpython2_7-1_0-32bit >= 2.7.13-28.11.2
  • python >= 2.7.13-28.11.1
  • python-base >= 2.7.13-28.11.2
  • python-curses >= 2.7.13-28.11.1
  • python-devel >= 2.7.13-28.11.2
  • python-tk >= 2.7.13-28.11.1
  • python-xml >= 2.7.13-28.11.2
SUSE Linux Enterprise High Performance Computing 12 SP5
SUSE Linux Enterprise Server 12 SP5
  • libpython2_7-1_0 >= 2.7.13-28.31.1
  • libpython2_7-1_0-32bit >= 2.7.13-28.31.1
  • python >= 2.7.13-28.31.1
  • python-32bit >= 2.7.13-28.31.1
  • python-base >= 2.7.13-28.31.1
  • python-base-32bit >= 2.7.13-28.31.1
  • python-curses >= 2.7.13-28.31.1
  • python-demo >= 2.7.13-28.31.1
  • python-devel >= 2.7.13-28.31.1
  • python-doc >= 2.7.13-28.31.2
  • python-doc-pdf >= 2.7.13-28.31.2
  • python-gdbm >= 2.7.13-28.31.1
  • python-idle >= 2.7.13-28.31.1
  • python-tk >= 2.7.13-28.31.1
  • python-xml >= 2.7.13-28.31.1
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • libpython2_7-1_0 >= 2.7.17-7.32.1
  • python >= 2.7.17-7.32.2
  • python-base >= 2.7.17-7.32.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP1-2020-234
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • libpython2_7-1_0 >= 2.7.17-7.38.1
  • python >= 2.7.17-7.38.1
  • python-base >= 2.7.17-7.38.1
SUSE Linux Enterprise Module for Basesystem 15
  • libpython2_7-1_0 >= 2.7.17-7.32.1
  • python >= 2.7.17-7.32.2
  • python-base >= 2.7.17-7.32.1
  • python-curses >= 2.7.17-7.32.2
  • python-devel >= 2.7.17-7.32.1
  • python-gdbm >= 2.7.17-7.32.2
  • python-xml >= 2.7.17-7.32.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-2020-234
SUSE Linux Enterprise Module for Desktop Applications 15 SP1
  • python-tk >= 2.7.17-7.32.2
Patchnames:
SUSE-SLE-Module-Desktop-Applications-15-SP1-2020-234
SUSE Linux Enterprise Module for Desktop Applications 15 SP2
  • python-tk >= 2.7.17-7.38.1
SUSE Linux Enterprise Module for Desktop Applications 15
  • python-tk >= 2.7.17-7.32.2
Patchnames:
SUSE-SLE-Module-Desktop-Applications-15-2020-234
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP1
  • libpython2_7-1_0-32bit >= 2.7.17-7.32.1
  • python-32bit >= 2.7.17-7.32.2
  • python-base-32bit >= 2.7.17-7.32.1
  • python-demo >= 2.7.17-7.32.2
  • python-doc >= 2.7.17-7.32.2
  • python-doc-pdf >= 2.7.17-7.32.2
  • python-idle >= 2.7.17-7.32.2
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-234
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15
  • python-demo >= 2.7.17-7.32.2
  • python-doc >= 2.7.17-7.32.2
  • python-doc-pdf >= 2.7.17-7.32.2
  • python-idle >= 2.7.17-7.32.2
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-2020-234
SUSE Linux Enterprise Module for Python 2 15 SP1
  • python-curses >= 2.7.17-7.32.2
  • python-devel >= 2.7.17-7.32.1
  • python-gdbm >= 2.7.17-7.32.2
  • python-xml >= 2.7.17-7.32.1
Patchnames:
SUSE-SLE-Module-Python2-15-SP1-2020-234
SUSE Linux Enterprise Server 12 SP3
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • libpython2_7-1_0 >= 2.7.13-28.3.2
  • libpython2_7-1_0-32bit >= 2.7.13-28.3.2
  • python >= 2.7.13-28.3.2
  • python-32bit >= 2.7.13-28.3.2
  • python-base >= 2.7.13-28.3.2
  • python-base-32bit >= 2.7.13-28.3.2
  • python-curses >= 2.7.13-28.3.2
  • python-demo >= 2.7.13-28.3.2
  • python-doc >= 2.7.13-28.3.3
  • python-doc-pdf >= 2.7.13-28.3.3
  • python-gdbm >= 2.7.13-28.3.2
  • python-idle >= 2.7.13-28.3.2
  • python-tk >= 2.7.13-28.3.2
  • python-xml >= 2.7.13-28.3.2
Patchnames:
SUSE-SLE-SERVER-12-SP3-2018-964
SUSE Linux Enterprise Server 12 SP4
  • libpython2_7-1_0 >= 2.7.13-28.11.2
  • libpython2_7-1_0-32bit >= 2.7.13-28.11.2
  • python >= 2.7.13-28.11.1
  • python-32bit >= 2.7.13-28.11.1
  • python-base >= 2.7.13-28.11.2
  • python-base-32bit >= 2.7.13-28.11.2
  • python-curses >= 2.7.13-28.11.1
  • python-demo >= 2.7.13-28.11.1
  • python-doc >= 2.7.13-28.11.2
  • python-doc-pdf >= 2.7.13-28.11.2
  • python-gdbm >= 2.7.13-28.11.1
  • python-idle >= 2.7.13-28.11.1
  • python-tk >= 2.7.13-28.11.1
  • python-xml >= 2.7.13-28.11.2
SUSE Linux Enterprise Software Development Kit 12 SP3
  • python-devel >= 2.7.13-28.3.2
Patchnames:
SUSE-SLE-SDK-12-SP3-2018-964
SUSE Linux Enterprise Software Development Kit 12 SP4
SUSE Linux Enterprise Workstation Extension 12 SP4
  • python-devel >= 2.7.13-28.11.2
SUSE Linux Enterprise Workstation Extension 12 SP3
  • python-devel >= 2.7.13-28.3.2
Patchnames:
SUSE-SLE-WE-12-SP3-2018-964
SUSE Linux Enterprise Workstation Extension 12 SP5
  • python-devel >= 2.7.13-28.31.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 python In progress
HPE Helion OpenStack 8 python3 In progress
Magnum Orchestration python Released
SUSE CaaS Platform 3.0 python In progress
SUSE CaaS Platform 4.0 python Released
SUSE Container as a Service Platform 2.0 python Released
SUSE Enterprise Storage 5 python In progress
SUSE Enterprise Storage 6 python Released
SUSE Linux Enterprise Desktop 12 SP2 python Affected
SUSE Linux Enterprise Desktop 12 SP3 python Released
SUSE Linux Enterprise Desktop 12 SP4 python In progress
SUSE Linux Enterprise High Performance Computing 12 SP4 python In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 python In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 python3 In progress
SUSE Linux Enterprise High Performance Computing 15 LTSS python Released
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS python Released
SUSE Linux Enterprise Module for Basesystem 15 python Released
SUSE Linux Enterprise Module for Basesystem 15 SP1 python Released
SUSE Linux Enterprise Module for Basesystem 15 SP1 python-base Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 python Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 python-base Released
SUSE Linux Enterprise Module for Desktop Applications 15 python Released
SUSE Linux Enterprise Module for Desktop Applications 15 SP1 python Released
SUSE Linux Enterprise Module for Desktop Applications 15 SP2 python Released
SUSE Linux Enterprise Module for Python 2 15 SP1 python Released
SUSE Linux Enterprise Module for Python 2 15 SP1 python-base Released
SUSE Linux Enterprise Module for Python 2 15 SP2 python Released
SUSE Linux Enterprise Module for Python 2 15 SP2 python-base Released
SUSE Linux Enterprise Module for Web and Scripting 12 python3 In progress
SUSE Linux Enterprise Server 11 SP3 LTSS python Ignore
SUSE Linux Enterprise Server 11 SP4 python Ignore
SUSE Linux Enterprise Server 12 SP1 LTSS python In progress
SUSE Linux Enterprise Server 12 SP2 python In progress
SUSE Linux Enterprise Server 12 SP2 BCL python In progress
SUSE Linux Enterprise Server 12 SP2 BCL python3 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS python In progress
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON python In progress
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON python3 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS SAP python In progress
SUSE Linux Enterprise Server 12 SP2 LTSS SAP python3 In progress
SUSE Linux Enterprise Server 12 SP3 python Released
SUSE Linux Enterprise Server 12 SP3 BCL python In progress
SUSE Linux Enterprise Server 12 SP3 BCL python3 In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS python In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS python3 In progress
SUSE Linux Enterprise Server 12 SP3 LTSS python In progress
SUSE Linux Enterprise Server 12 SP3 LTSS python3 In progress
SUSE Linux Enterprise Server 12 SP4 python In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS python In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS python3 In progress
SUSE Linux Enterprise Server 12 SP4 LTSS python In progress
SUSE Linux Enterprise Server 12 SP4 LTSS python3 In progress
SUSE Linux Enterprise Server 12 SP5 python In progress
SUSE Linux Enterprise Server 12 SP5 python3 In progress
SUSE Linux Enterprise Server 15 LTSS python Released
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux python Released
SUSE Linux Enterprise Server 15 SP1 LTSS python Released
SUSE Linux Enterprise Server ESPOS 15 python Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 python In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python3 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python3 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python3 In progress
SUSE Linux Enterprise Server for SAP Applications 15 python Released
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python Released
SUSE Linux Enterprise Software Development Kit 11 SP4 python Ignore
SUSE Manager Proxy 4.0 python Released
SUSE Manager Retail Branch Server 4.0 python Released
SUSE Manager Server 4.0 python Released
SUSE OpenStack Cloud 8 python In progress
SUSE OpenStack Cloud 8 python3 In progress
SUSE OpenStack Cloud 9 python In progress
SUSE OpenStack Cloud 9 python3 In progress
SUSE OpenStack Cloud Crowbar 8 python In progress
SUSE OpenStack Cloud Crowbar 8 python3 In progress
SUSE OpenStack Cloud Crowbar 9 python In progress
SUSE OpenStack Cloud Crowbar 9 python3 In progress