National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-8622 Detail

Current Description

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:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 9.8 CRITICAL
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Nist CVSS score does not match with CNA score
CNA:  Red Hat, Inc.
Base Score: 3.7 LOW
Vector:  CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
http://www.securityfocus.com/bid/94105 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1037192 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:2486 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3558
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622 Issue Tracking Patch Third Party Advisory
https://curl.haxx.se/docs/adv_20161102H.html Patch Vendor Advisory
https://security.gentoo.org/glsa/201701-47 Third Party Advisory
https://www.tenable.com/security/tns-2016-21 Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-787 Out-of-bounds Write NIST  
CWE-190 Integer Overflow or Wraparound Red Hat, Inc.  
CWE-122 Heap-based Buffer Overflow Red Hat, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
7.51.0


Change History

7 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2016-8622
NVD Published Date:
07/31/2018
NVD Last Modified:
11/13/2018