CVE-2018-1000030
Python Heap Buffer Overflow and Heap Use After Free
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.
INFO
Published Date :
Feb. 8, 2018, 5:29 p.m.
Last Modified :
Aug. 24, 2020, 5:37 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
2.5
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2018-1000030 has a 6 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-1000030
.
URL | Resource |
---|---|
https://bugs.python.org/issue31530 | Issue Tracking Patch Vendor Advisory |
https://drive.google.com/file/d/1oyR9DAZjZK_SCn3mor6NRAYLJS6ueXaY/view | Third Party Advisory |
https://security.gentoo.org/glsa/201811-02 | Third Party Advisory |
https://usn.ubuntu.com/3817-1/ | Third Party Advisory |
https://usn.ubuntu.com/3817-2/ | Third Party Advisory |
https://www.dropbox.com/sh/sj3ee7xv55j36k7/AADwP-YfOYikBMuy32e0uvPFa?dl=0 | Permissions Required |
https://www.oracle.com/security-alerts/cpujan2020.html | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Python script to summarize the data retrieved from a search at CVEDetails.com
cve cvedetails scrapper scrapper-script summary
Python
Map Vulnerabilities into Different Layers of the Container Image
Python
None
None
Python 2.7.14 race condition UAF proof-of-concept
Python
IoT CVEs as abnormal events to evaluate a real-time host-based IDS. https://doi.org/10.1016/j.future.2022.03.001
iot cves ids dataset anomaly-detection real-time stream-processing host-based security
Shell Dockerfile Python Ruby
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-1000030
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-1000030
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Aug. 24, 2020
Action Type Old Value New Value Changed CWE CWE-119 CWE-416 CWE-787 CWE-416 -
Modified Analysis by [email protected]
Mar. 05, 2020
Action Type Old Value New Value Removed CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:P/I:N/A:P) Removed CVSS V3 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L Changed Reference Type https://www.oracle.com/security-alerts/cpujan2020.html No Types Assigned https://www.oracle.com/security-alerts/cpujan2020.html Third Party Advisory -
CVE Modified by [email protected]
Jan. 15, 2020
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpujan2020.html [No Types Assigned] -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CVSS V3 MITRE AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L -
Modified Analysis by [email protected]
Mar. 26, 2019
Action Type Old Value New Value Changed Reference Type https://usn.ubuntu.com/3817-1/ No Types Assigned https://usn.ubuntu.com/3817-1/ Third Party Advisory Changed Reference Type https://security.gentoo.org/glsa/201811-02 No Types Assigned https://security.gentoo.org/glsa/201811-02 Third Party Advisory Changed Reference Type https://usn.ubuntu.com/3817-2/ No Types Assigned https://usn.ubuntu.com/3817-2/ Third Party Advisory Removed CWE CWE-362 Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* -
CVE Modified by [email protected]
Nov. 16, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3817-2/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 14, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3817-1/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 09, 2018
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201811-02 [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 10, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://bugs.python.org/issue31530 No Types Assigned https://bugs.python.org/issue31530 Issue Tracking, Patch, Vendor Advisory Changed Reference Type https://drive.google.com/file/d/1oyR9DAZjZK_SCn3mor6NRAYLJS6ueXaY/view No Types Assigned https://drive.google.com/file/d/1oyR9DAZjZK_SCn3mor6NRAYLJS6ueXaY/view Third Party Advisory Changed Reference Type https://www.dropbox.com/sh/sj3ee7xv55j36k7/AADwP-YfOYikBMuy32e0uvPFa?dl=0 No Types Assigned https://www.dropbox.com/sh/sj3ee7xv55j36k7/AADwP-YfOYikBMuy32e0uvPFa?dl=0 Permissions Required Added CWE CWE-119 Added CWE CWE-362 Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (including) 2.7.14
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-1000030
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-1000030
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.08 }} 0.00%
score
0.30411
percentile