CVE-2018-16840
Curl Use-After-Free Heap Vulnerability
Description
A heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the code related to closing an easy handle. When closing and cleaning up an 'easy' handle in the `Curl_close()` function, the library code first frees a struct (without nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.
INFO
Published Date :
Oct. 31, 2018, 6:29 p.m.
Last Modified :
Nov. 21, 2024, 3:53 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2018-16840 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-16840
.
URL | Resource |
---|---|
http://www.securitytracker.com/id/1042013 | Third Party Advisory VDB Entry |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16840 | Issue Tracking Third Party Advisory |
https://curl.haxx.se/docs/CVE-2018-16840.html | Patch Vendor Advisory |
https://github.com/curl/curl/commit/81d135d67155c5295b1033679c606165d4e28f3f | Patch Third Party Advisory |
https://security.gentoo.org/glsa/201903-03 | Third Party Advisory |
https://usn.ubuntu.com/3805-1/ | Third Party Advisory |
http://www.securitytracker.com/id/1042013 | Third Party Advisory VDB Entry |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16840 | Issue Tracking Third Party Advisory |
https://curl.haxx.se/docs/CVE-2018-16840.html | Patch Vendor Advisory |
https://github.com/curl/curl/commit/81d135d67155c5295b1033679c606165d4e28f3f | Patch Third Party Advisory |
https://security.gentoo.org/glsa/201903-03 | Third Party Advisory |
https://usn.ubuntu.com/3805-1/ | 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).
None
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache
None
Dockerfile Makefile
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent
None
Dockerfile Makefile Shell Go Smarty
A Simple and Comprehensive Vulnerability Scanner for Containers, Suitable for CI for Web
Python HTML CSS JavaScript
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-16840
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-16840
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 -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CVSS V3 Red Hat, Inc. AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N Added CWE Red Hat, Inc. CWE-416 -
Modified Analysis by [email protected]
Mar. 11, 2019
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/201903-03 No Types Assigned https://security.gentoo.org/glsa/201903-03 Third Party Advisory -
CVE Modified by [email protected]
Mar. 11, 2019
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201903-03 [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 07, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/curl/curl/commit/81d135d67155c5295b1033679c606165d4e28f3f No Types Assigned https://github.com/curl/curl/commit/81d135d67155c5295b1033679c606165d4e28f3f Patch, Third Party Advisory Changed Reference Type https://usn.ubuntu.com/3805-1/ No Types Assigned https://usn.ubuntu.com/3805-1/ Third Party Advisory Changed Reference Type http://www.securitytracker.com/id/1042013 No Types Assigned http://www.securitytracker.com/id/1042013 Third Party Advisory, VDB Entry Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16840 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16840 Issue Tracking, Third Party Advisory Changed Reference Type https://curl.haxx.se/docs/CVE-2018-16840.html No Types Assigned https://curl.haxx.se/docs/CVE-2018-16840.html Patch, Vendor Advisory Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* versions from (including) 7.59.0 up to (including) 7.61.1 Added CPE Configuration OR *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:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 01, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3805-1/ [No Types Assigned] Added Reference http://www.securitytracker.com/id/1042013 [No Types Assigned]
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-16840
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-16840
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.83 }} -0.34%
score
0.82296
percentile