National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-1000257 Detail

Current Description

An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. libcurl's deliver-data function treats zero as a magic number and invokes strlen() on the data to figure out the length. The strlen() is called on a heap based buffer that might not be zero terminated so libcurl might read beyond the end of it into whatever memory lies after (or just crash) and then deliver that to the application as if it was actually downloaded.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

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

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.debian.org/security/2017/dsa-4007 Third Party Advisory
http://www.securityfocus.com/bid/101519 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039644 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3263
https://access.redhat.com/errata/RHSA-2018:2486
https://access.redhat.com/errata/RHSA-2018:3558
https://curl.haxx.se/docs/adv_20171023.html Vendor Advisory
https://security.gentoo.org/glsa/201712-04

Weakness Enumeration

CWE-ID CWE Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer NIST  

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:haxx:libcurl
     Show Matching CPE(s)
From (including)
7.20.0
Up to (including)
7.56.0

Configuration 2 ( hide )
 cpe:/o:debian:debian_linux:8.0
     Show Matching CPE(s)
 cpe:/o:debian:debian_linux:9.0
     Show Matching CPE(s)


Change History

7 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-1000257
NVD Published Date:
10/31/2017
NVD Last Modified:
11/13/2018