Out-of-bounds read in cURL - CVE-2016-8621

 

Out-of-bounds read in cURL - CVE-2016-8621

Published: August 1, 2018 / Updated: August 3, 2020


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

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

The `curl_getdate` function in curl before version 7.51.0 is vulnerable to an out of bounds read if it receives an input with one digit short.


Affected software

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

How to mitigate CVE-2016-8621

Install update from vendor's website.

cURL - update to 7.51.0
curl (Alpine package) - addressed in versions 7.49.1-r4, 7.51.0-r0
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
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 (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.47.1-9.fc24, 7.51.0-1.fc25
Dell EMC Unisphere Central - update to 4.0.8.23220

External References

Related Security Bulletins