libcURL up to 7.50.2 curl_unescape 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 labeled as critical has been found in libcURL up to 7.50.2. This affects the function curl_unescape. Such manipulation of the argument length leads to integer overflow. This vulnerability is uniquely identified as CVE-2016-7167. The attack can be launched remotely. No exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in libcURL up to 7.50.2 (Network Utility Software). It has been rated as very critical. Affected by this issue is the function curl_unescape. The manipulation of the argument length with an unknown input leads to a integer overflow vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability.

The weakness was disclosed 09/14/2016 by Daniel Stenberg with Mitre CVE Assignment Team as adv_20160914 as confirmed advisory (Website). The advisory is available at curl.haxx.se. The public release has been coordinated in cooperation with the vendor. This vulnerability is handled as CVE-2016-7167 since 09/08/2016. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit. The structure of the vulnerability defines a possible price range of 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†). The entries VDB-90449, VDB-91385, VDB-91680 and VDB-91681 are pretty similar. If you want to get best quality of vulnerability data, you may have to visit VulDB.

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-91682
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:32
Changes: 09/18/2016 13:26 (66), 04/19/2019 17:41 (24), 09/19/2022 08:32 (3)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!