The function `read_data()` in security.c in curl before version 7.51.0 is vulnerable to memory double free.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
The product calls free() twice on the same memory address.
Link | Tags |
---|---|
https://curl.haxx.se/docs/adv_20161102E.html | patch vendor advisory |
https://access.redhat.com/errata/RHSA-2018:3558 | third party advisory vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8619 | patch third party advisory issue tracking |
https://curl.haxx.se/CVE-2016-8619.patch | patch vendor advisory |
http://www.securityfocus.com/bid/94100 | third party advisory vdb entry |
https://www.tenable.com/security/tns-2016-21 | third party advisory |
http://www.securitytracker.com/id/1037192 | third party advisory vdb entry |
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html | patch |
https://access.redhat.com/errata/RHSA-2018:2486 | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201701-47 | third party advisory vendor advisory |