libcURL up to 7.50.2 curl_easy_escape length integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.6 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.8VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Integer overflowCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: libcURL 7.50.3
Patch: curl.haxx.se
Timeline
09/08/2016 🔍09/08/2016 🔍
09/14/2016 🔍
09/14/2016 🔍
09/15/2016 🔍
09/18/2016 🔍
10/07/2016 🔍
11/04/2016 🔍
09/19/2022 🔍
Sources
Advisory: adv_20160914Researcher: 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: 🔍
Entry
Created: 09/18/2016 13:26Updated: 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.
No comments yet. Languages: en.
Please log in to comment.