libcURL up to 7.50.2 curl_easy_escape length integer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.6$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in libcURL up to 7.50.2. The impacted element is the function curl_easy_escape. This manipulation of the argument length causes integer overflow. This vulnerability is handled as CVE-2016-7167. The attack can be initiated remotely. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in libcURL up to 7.50.2 (Network Utility Software). It has been declared as very critical. Affected by this vulnerability is the function curl_easy_escape. The manipulation of the argument length with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was released 09/14/2016 by Daniel Stenberg with Mitre CVE Assignment Team as adv_20160914 as confirmed advisory (Website). The advisory is shared at curl.haxx.se. The public release was coordinated with the project team. This vulnerability is known as CVE-2016-7167 since 09/08/2016. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 09/19/2022). The advisory points out:

he provided string length arguments were not properly checked and due to arithmetic in the functions, passing in the length 0xffffffff (2^32-1 or UINT_MAX or even just -1) would end up causing an allocation of zero bytes of heap memory that curl would attempt to write gigabytes of data into.

The vulnerability scanner Nessus provides a plugin with the ID 94572 (SUSE SLES11 Security Update : curl (SUSE-SU-2016:2714-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176814 (Debian Security Update for curl (DLA 1568-1)).

Upgrading to version 7.50.3 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at curl.haxx.se. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (94572), SecurityFocus (BID 92975†) and SecurityTracker (ID 1036813†). Entries connected to this vulnerability are available at VDB-90449, VDB-91385, VDB-91680 and VDB-91682. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Not Affected

  • libcURL up to 7.11.0

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.6

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 94572
Nessus Name: SUSE SLES11 Security Update : curl (SUSE-SU-2016:2714-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: alas-2016-742
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: libcURL 7.50.3
Patch: curl.haxx.se

Timelineinfo

09/08/2016 🔍
09/08/2016 +0 days 🔍
09/14/2016 +6 days 🔍
09/14/2016 +0 days 🔍
09/15/2016 +1 days 🔍
09/18/2016 +3 days 🔍
10/07/2016 +19 days 🔍
11/04/2016 +28 days 🔍
09/19/2022 +2145 days 🔍

Sourcesinfo

Advisory: adv_20160914
Researcher: Daniel Stenberg
Organization: Mitre CVE Assignment Team
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2016-7167 (🔍)
GCVE (CVE): GCVE-0-2016-7167
GCVE (VulDB): GCVE-100-91681
SecurityFocus: 92975 - curl/libcURL CVE-2016-7167 Multiple Integer Overflow Vulnerabilities
SecurityTracker: 1036813

See also: 🔍

Entryinfo

Created: 09/18/2016 13:26
Updated: 09/19/2022 08:29
Changes: 09/18/2016 13:26 (66), 04/19/2019 17:34 (24), 09/19/2022 08:29 (3)
Complete: 🔍
Cache ID: 216:ADC:103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!