Input validation error in cURL - CVE-2016-3739

 

Input validation error in cURL - CVE-2016-3739

Published: May 20, 2016 / Updated: August 3, 2020


Vulnerability identifier: #VU33070
CSH Severity: Medium
CVSS v4: 5.6 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-3739
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

The (1) mbed_connect_step1 function in lib/vtls/mbedtls.c and (2) polarssl_connect_step1 function in lib/vtls/polarssl.c in cURL and libcurl before 7.49.0, when using SSLv3 or making a TLS connection to a URL that uses a numerical IP address, allow remote attackers to spoof servers via an arbitrary valid certificate.


Affected software

cURL
curl (Alpine package)
Slackware Linux

How to mitigate CVE-2016-3739

Install update from vendor's website.

cURL - update to 7.49.0
curl (Alpine package) - update to 7.49.1-r0

External References

Related Security Bulletins