UBUNTU-CVE-2018-1000030

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2018-1000030
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000030.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-1000030
Related
Published
2018-02-08T00:00:00Z
Modified
2018-02-08T00:00:00Z
Severity
  • 3.6 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:14.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.5?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-8ubuntu0.5

Affected versions

2.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "libpython2.7-dbg": "2.7.6-8ubuntu0.5",
            "libpython2.7-dbgsym": "2.7.6-8ubuntu0.5",
            "libpython2.7-stdlib-dbgsym": "2.7.6-8ubuntu0.5",
            "python2.7-examples": "2.7.6-8ubuntu0.5",
            "libpython2.7-minimal-dbgsym": "2.7.6-8ubuntu0.5",
            "python2.7-dbg": "2.7.6-8ubuntu0.5",
            "python2.7-dev-dbgsym": "2.7.6-8ubuntu0.5",
            "python2.7-dev": "2.7.6-8ubuntu0.5",
            "libpython2.7-testsuite": "2.7.6-8ubuntu0.5",
            "python2.7-minimal": "2.7.6-8ubuntu0.5",
            "libpython2.7-minimal": "2.7.6-8ubuntu0.5",
            "python2.7": "2.7.6-8ubuntu0.5",
            "libpython2.7": "2.7.6-8ubuntu0.5",
            "libpython2.7-dev-dbgsym": "2.7.6-8ubuntu0.5",
            "libpython2.7-stdlib": "2.7.6-8ubuntu0.5",
            "python2.7-doc": "2.7.6-8ubuntu0.5",
            "python2.7-minimal-dbgsym": "2.7.6-8ubuntu0.5",
            "idle-python2.7": "2.7.6-8ubuntu0.5",
            "python2.7-dbgsym": "2.7.6-8ubuntu0.5",
            "libpython2.7-dev": "2.7.6-8ubuntu0.5"
        }
    ]
}

Ubuntu:16.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7@2.7.12-1ubuntu0~16.04.4?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.12-1ubuntu0~16.04.4

Affected versions

2.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "libpython2.7-dbg": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7-dbgsym": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7-stdlib-dbgsym": "2.7.12-1ubuntu0~16.04.4",
            "python2.7-examples": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7-minimal-dbgsym": "2.7.12-1ubuntu0~16.04.4",
            "python2.7-dbg": "2.7.12-1ubuntu0~16.04.4",
            "python2.7-dev": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7-testsuite": "2.7.12-1ubuntu0~16.04.4",
            "python2.7-minimal": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7-dev-dbgsym": "2.7.12-1ubuntu0~16.04.4",
            "python2.7": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7-minimal": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7-stdlib": "2.7.12-1ubuntu0~16.04.4",
            "python2.7-doc": "2.7.12-1ubuntu0~16.04.4",
            "idle-python2.7": "2.7.12-1ubuntu0~16.04.4",
            "libpython2.7-dev": "2.7.12-1ubuntu0~16.04.4"
        }
    ]
}

Ubuntu:18.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7@2.7.15~rc1-1?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.15~rc1-1

Affected versions

2.*

2.7.14-2ubuntu2
2.7.14-4
2.7.14-6
2.7.14-7
2.7.14-8

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "python2.7": "2.7.15~rc1-1",
            "libpython2.7": "2.7.15~rc1-1",
            "libpython2.7-dbg": "2.7.15~rc1-1",
            "libpython2.7-stdlib": "2.7.15~rc1-1",
            "python2.7-dev": "2.7.15~rc1-1",
            "python2.7-examples": "2.7.15~rc1-1",
            "python2.7-doc": "2.7.15~rc1-1",
            "python2.7-dbg": "2.7.15~rc1-1",
            "idle-python2.7": "2.7.15~rc1-1",
            "libpython2.7-testsuite": "2.7.15~rc1-1",
            "python2.7-minimal": "2.7.15~rc1-1",
            "libpython2.7-dev": "2.7.15~rc1-1",
            "libpython2.7-minimal": "2.7.15~rc1-1"
        }
    ]
}