p PatchFirst

CVE-2018-1000030

CVE-2018-1000030

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 3.6 · Low · EPSS 1.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • python2.7 Debian:11

    Affected ranges
    • ECOSYSTEM: < 2.7.14-5

    Update to 2.7.14-5

  • python2.7 Ubuntu:14.04:LTS

    Versions
    • 2.7.5-8ubuntu3
    • 2.7.5-8ubuntu4
    • 2.7.6-2
    • 2.7.6-2ubuntu1
    • 2.7.6-3
    • 2.7.6-3ubuntu1
    • 2.7.6-4
    • 2.7.6-4ubuntu1
    • 2.7.6-5
    • 2.7.6-7
    • 2.7.6-8
    • 2.7.6-8ubuntu0.2
    • 2.7.6-8ubuntu0.3
    • 2.7.6-8ubuntu0.4
    Affected ranges
    • ECOSYSTEM: < 2.7.6-8ubuntu0.5

    Update to 2.7.6-8ubuntu0.5

  • python2.7 Ubuntu:16.04:LTS

    Versions
    • 2.7.10-4ubuntu1
    • 2.7.10-4ubuntu2
    • 2.7.11-2
    • 2.7.11-3
    • 2.7.11-4
    • 2.7.11-6
    • 2.7.11-7
    • 2.7.11-7ubuntu1
    • 2.7.12-1~16.04
    • 2.7.12-1ubuntu0~16.04.1
    • 2.7.12-1ubuntu0~16.04.2
    • 2.7.12-1ubuntu0~16.04.3
    Affected ranges
    • ECOSYSTEM: < 2.7.12-1ubuntu0~16.04.4

    Update to 2.7.12-1ubuntu0~16.04.4

Original sources

Check your server →