Arbitrary code execution in libcurl - CVE-2016-7167

 

Arbitrary code execution in libcurl - CVE-2016-7167

Published: September 23, 2016


Vulnerability identifier: #VU655
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-7167
CWE-ID: CWE-191
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability exposes a remote user's possibility to cause arbitrary code execution on the target system.
The weakness exists due to integer overflow. Using of specially crafted length parameter value to certain libcurl functions allows attackers to obtain potentially sensitive information and execute arbitrary code.
Successful exploitation of the vulnerability may result in arbitrary code execution on the vulnerable system.

Affected software

libcurl
Arch Linux
SUSE Linux
Ubuntu
Slackware Linux
Fedora
Opensuse
Modular Switchgear Monitoring (MSM)
curl (Alpine package)
libcurl3 (Ubuntu package)
libcurl3-gnutls (Ubuntu package)
libcurl3-nss (Ubuntu package)
curl
Dell EMC Unisphere Central

How to mitigate CVE-2016-7167

Update to 7.50.3.

curl (Alpine package) - update to 7.49.1-r3
libcurl3 (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.17, 7.35.0-1ubuntu2.10, 7.47.0-1ubuntu2.2, 7.50.1-1ubuntu1.1
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.17, 7.35.0-1ubuntu2.10, 7.47.0-1ubuntu2.2, 7.50.1-1ubuntu1.1
libcurl3-nss (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.17, 7.35.0-1ubuntu2.10, 7.47.0-1ubuntu2.2, 7.50.1-1ubuntu1.1
curl - addressed in versions 7.43.0-10.fc23, 7.47.1-8.fc24, 7.50.3-1.fc25
Dell EMC Unisphere Central - update to 4.0.8.23220

External References

Related Security Bulletins