CVE-2018-16840

Priority
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.
Notes
 mdeslaur> introduced by https://github.com/curl/curl/commit/b46cfbc068
 mdeslaur> in curl 7.59
Assigned-to
mdeslaur
Package
Source: curl (LP Ubuntu Debian)
Upstream:pending (7.62.0)
Ubuntu 12.04 ESM (Precise Pangolin):not-affected
Ubuntu 14.04 LTS (Trusty Tahr):not-affected
Ubuntu 16.04 LTS (Xenial Xerus):not-affected
Ubuntu 18.04 LTS (Bionic Beaver):not-affected (7.58.0-2ubuntu3.3)
Ubuntu 18.10 (Cosmic Cuttlefish):released (7.61.0-1ubuntu2.2)
Ubuntu 19.04 (Disco Dingo):released (7.61.0-1ubuntu2.2)
More Information

Updated: 2018-12-03 13:14:48 UTC (commit 01addd2d8d1f962e775fbfaaf3bdf7f6936c7e62)