Heap buffer overflow in curl_easy_unescape
The Curl Project curl
At a glance
The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 4.67%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:The Curl Project | curl | Affected versions: 7.51.0 |
| Vendor:Red Hat | .NET Core 1.0 on Red Hat Enterprise Linux | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | .NET Core 1.1 on Red Hat Enterprise Linux | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | .NET Core 2.0 on Red Hat Enterprise Linux | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | .NET Core 2.1 on Red Hat Enterprise Linux | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 7 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Virtualization 3 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat JBoss Core Services | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat JBoss Enterprise Web Server 3 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Affected versions:Source does not specify a version range |
1–10 of 46 · Page 1 of 5
CVSS scores and metrics7
redhat · CVE List / CNA (cna)Primary3.7 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N[email protected] · NVD (Primary)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Secondary)3.7 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NRed Hat · Red Hat VEX (adp)3.7 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NSUSE · SUSE VEX (adp)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PRed Hat · Red Hat VEX (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences