CVE & CISA-KEV Catalog

CVE-2018-1000030

LOW
3.6
CVSS v3
NVD

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.

How to fix

Remediation Available
python2.7Debian
Fixed in:2.7.14-5CVE-2018-1000030
python2.7Ubuntu
Fixed in:2.7.6-8ubuntu0.5USN-3817-1
Fixed in:2.7.12-1ubuntu0~16.04.4USN-3817-1
Fixed in:2.7.15~rc1-1ubuntu0.1USN-3817-1
python2.7-minimalUbuntu
Fixed in:2.7.6-8ubuntu0.5USN-3817-1
Fixed in:2.7.12-1ubuntu0~16.04.4USN-3817-1
Fixed in:2.7.15~rc1-1ubuntu0.1USN-3817-1
python3.4Ubuntu
Fixed in:3.4.3-1ubuntu1~14.04.7USN-3817-1
python3.4-minimalUbuntu
Fixed in:3.4.3-1ubuntu1~14.04.7USN-3817-1
python3.5Ubuntu
Fixed in:3.5.2-2ubuntu0~16.04.5USN-3817-1
python3.5-minimalUbuntu
Fixed in:3.5.2-2ubuntu0~16.04.5USN-3817-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L

Exploit Intelligence

1.21%probability of exploitation in 30 days
65thpercentile

Moderate risk: more likely to be exploited than 65% of all known CVEs.

References

Related Vulnerabilities

Other CWE-416 (Use After Free) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-0708Critical9.8100%KEV + Ransom-
CVE-2021-31166Critical9.8100%KEVFix
CVE-2015-5119Critical9.899%KEV-
CVE-2010-3962High8.197%KEV-
CVE-2015-0313Critical9.896%KEVFix
CVE-2017-9798High7.595%-Fix
Embed a live status badge for CVE-2018-1000030
CVE-2018-1000030 severity badge

Markdown

[![CVE-2018-1000030](https://tridentstack.com/cve/badge/CVE-2018-1000030.svg)](https://tridentstack.com/cve/CVE-2018-1000030)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-1000030"><img src="https://tridentstack.com/cve/badge/CVE-2018-1000030.svg" alt="CVE-2018-1000030"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.