9.1
CRITICAL CVSS 3.0
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 :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

Yes !
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
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 CRITICAL [email protected]
Solution
To address the vulnerability, update the curl and Linux packages.
  • Update the affected curl packages.
  • Update the affected Linux packages.
  • If prompted, reboot the system.
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.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-1000257 is associated with the following CWEs:

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, 10 months ago
18 stars 10 fork 10 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-4007
    Added Reference http://www.securityfocus.com/bid/101519
    Added Reference http://www.securitytracker.com/id/1039644
    Added Reference https://access.redhat.com/errata/RHSA-2017:3263
    Added Reference https://access.redhat.com/errata/RHSA-2018:2486
    Added Reference https://access.redhat.com/errata/RHSA-2018:3558
    Added Reference https://curl.haxx.se/docs/adv_20171023.html
    Added Reference https://security.gentoo.org/glsa/201712-04
  • 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.
Vulnerability Scoring Details
Base CVSS Score: 9.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.4
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

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

1.40 }} 0.48%

score

0.79690

percentile