9.1
CRITICAL
CVE-2017-1000257
Apache Libcurl Null Pointer Dereference
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.

INFO

Published Date :

Oct. 31, 2017, 9:29 p.m.

Last Modified :

Nov. 13, 2018, 11:29 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2017-1000257 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-1000257 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Haxx curl
2 Haxx libcurl
1 Debian debian_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-1000257.

URL 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

PoCs discovered through fuzzing which resulted in a CVE assignment.

fuzzing infosec cve security testcase poc

Prolog

Updated: 2 years ago
18 stars 11 fork 11 watcher
Born at : Nov. 12, 2016, 7:38 a.m. This repo has been linked 21 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-1000257 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-1000257 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 13, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:3558 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 17, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:2486 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 16, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201712-04 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 02, 2017

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:3263 [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 27, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
    Changed Reference Type http://www.securitytracker.com/id/1039644 No Types Assigned http://www.securitytracker.com/id/1039644 Third Party Advisory, VDB Entry
    Changed Reference Type https://curl.haxx.se/docs/adv_20171023.html No Types Assigned https://curl.haxx.se/docs/adv_20171023.html Vendor Advisory
    Changed Reference Type http://www.debian.org/security/2017/dsa-4007 No Types Assigned http://www.debian.org/security/2017/dsa-4007 Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/101519 No Types Assigned http://www.securityfocus.com/bid/101519 Third Party Advisory, VDB Entry
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* versions from (including) 7.20.0 up to (including) 7.56.0
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 06, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-4007 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 02, 2017

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1039644 [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/101519 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.19 }} -0.40%

score

0.87819

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability