cURL/libcurl 7.x < 7.50.1 Multiple Vulnerabilities

High Nessus Network Monitor Plugin ID 9764

Synopsis

The host is running a version of cURL/libcurl that is vulnerable to multiple attack vectors.

Description

Versions of cURL and libcurl prior to 7.50.1 are affected by multiple vulnerabilities :

- A flaw exists in 'lib/vtls/vtls.c' due to the program attempting to resume TLS sessions even if the client certificate fails. This may allow a context-dependent attacker to bypass validation mechanisms. (CVE-2016-5419)
- A use-after-free error exists in the 'close_all_connections()' function in 'lib/multi.c'. The issue is triggered as connection pointers are not properly cleared for easy handles. This may allow a context-dependent attacker to dereference already freed memory and have an unspecified impact that may potentially include code execution. (CVE-2016-5421)

Solution

Upgrade to cURL/libcurl 7.50.1 or later.

See Also

https://curl.haxx.se/docs/adv_20160803C.html

https://curl.haxx.se/CVE-2016-5421.patch

https://curl.haxx.se/changes.html#7_50_1

Plugin Details

Severity: High

ID: 9764

File Name: 9764.prm

Family: Web Clients

Published: 2016/11/11

Modified: 2016/11/23

Dependencies: 9772

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

CVSSv3

Base Score: 7.3

Temporal Score: 6.9

Vector: CVSS3#AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS3#E:X/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:haxx:curl

Patch Publication Date: 2016/08/03

Vulnerability Publication Date: 2016/07/31

Reference Information

CVE: CVE-2016-5419, CVE-2016-5421

BID: 92306, 92319