Executive Summary

Informations
Name CVE-2017-1000254 First vendor Publication 2017-10-06
Vendor Cve Last vendor Modification 2023-11-07

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Overall CVSS Score 7.5
Base Score 7.5 Environmental Score 7.5
impact SubScore 3.6 Temporal Score 7.5
Exploitabality Sub Score 3.9
 
Attack Vector Network Attack Complexity Low
Privileges Required None User Interaction None
Scope Unchanged Confidentiality Impact None
Integrity Impact None Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:N/I:N/A:P)
Cvss Base Score 5 Attack Range Network
Cvss Impact Score 2.9 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

libcurl may read outside of a heap allocated buffer when doing FTP. When libcurl connects to an FTP server and successfully logs in (anonymous or not), it asks the server for the current directory with the `PWD` command. The server then responds with a 257 response containing the path, inside double quotes. The returned path name is then kept by libcurl for subsequent uses. Due to a flaw in the string parser for this directory name, a directory name passed like this but without a closing double quote would lead to libcurl not adding a trailing NUL byte to the buffer holding the name. When libcurl would then later access the string, it could read beyond the allocated heap buffer and crash or wrongly access data beyond the buffer, thinking it was part of the path. A malicious server could abuse this fact and effectively prevent libcurl-based clients to work with it - the PWD command is always issued on new FTP connections and the mistake has a high chance of causing a segfault. The simple fact that this has issue remained undiscovered for this long could suggest that malformed PWD responses are rare in benign servers. We are not aware of any exploit of this flaw. This bug was introduced in commit [415d2e7cb7](https://github.com/curl/curl/commit/415d2e7cb7), March 2005. In libcurl version 7.56.0, the parser always zero terminates the string but also rejects it if not terminated properly with a final double quote.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000254

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 117

Nessus® Vulnerability Scanner

Date Description
2018-10-26 Name : The remote EulerOS Virtualization host is missing multiple security updates.
File : EulerOS_SA-2018-1330.nasl - Type : ACT_GATHER_INFO
2018-08-17 Name : The remote PhotonOS host is missing multiple security updates.
File : PhotonOS_PHSA-2017-0045.nasl - Type : ACT_GATHER_INFO
2018-08-17 Name : The remote PhotonOS host is missing multiple security updates.
File : PhotonOS_PHSA-2017-0044.nasl - Type : ACT_GATHER_INFO
2018-01-15 Name : The remote Fedora host is missing a security update.
File : fedora_2017-e8179c06fd.nasl - Type : ACT_GATHER_INFO
2017-12-15 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201712-04.nasl - Type : ACT_GATHER_INFO
2017-12-07 Name : The remote host is missing a macOS or Mac OS X security update that fixes mul...
File : macosx_SecUpd2017-005.nasl - Type : ACT_GATHER_INFO
2017-12-07 Name : The remote host is missing a macOS update that fixes multiple security vulner...
File : macos_10_13_2.nasl - Type : ACT_GATHER_INFO
2017-12-04 Name : The remote SUSE host is missing one or more security updates.
File : suse_SU-2017-3176-1.nasl - Type : ACT_GATHER_INFO
2017-12-01 Name : The remote EulerOS host is missing a security update.
File : EulerOS_SA-2017-1287.nasl - Type : ACT_GATHER_INFO
2017-12-01 Name : The remote EulerOS host is missing a security update.
File : EulerOS_SA-2017-1288.nasl - Type : ACT_GATHER_INFO
2017-11-06 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2017-919.nasl - Type : ACT_GATHER_INFO
2017-10-30 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2017-1200.nasl - Type : ACT_GATHER_INFO
2017-10-24 Name : The remote SUSE host is missing one or more security updates.
File : suse_SU-2017-2831-1.nasl - Type : ACT_GATHER_INFO
2017-10-18 Name : The remote Fedora host is missing a security update.
File : fedora_2017-601b4c20a4.nasl - Type : ACT_GATHER_INFO
2017-10-11 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-3441-1.nasl - Type : ACT_GATHER_INFO
2017-10-09 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-3992.nasl - Type : ACT_GATHER_INFO
2017-10-09 Name : The remote Slackware host is missing a security update.
File : Slackware_SSA_2017-279-01.nasl - Type : ACT_GATHER_INFO
2017-10-06 Name : The remote Debian host is missing a security update.
File : debian_DLA-1121.nasl - Type : ACT_GATHER_INFO
2017-10-05 Name : The remote FreeBSD host is missing a security-related update.
File : freebsd_pkg_ccace707a8d811e7ac58b499baebfeaf.nasl - Type : ACT_GATHER_INFO

Sources (Detail)

https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db560...
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61...
Source Url
BID http://www.securityfocus.com/bid/101115
CONFIRM https://curl.haxx.se/673d0cd8.patch
https://curl.haxx.se/docs/adv_20171004.html
https://support.apple.com/HT208331
DEBIAN http://www.debian.org/security/2017/dsa-3992
GENTOO https://security.gentoo.org/glsa/201712-04
REDHAT https://access.redhat.com/errata/RHSA-2018:2486
https://access.redhat.com/errata/RHSA-2018:3558
SECTRACK http://www.securitytracker.com/id/1039509

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Date Informations
2023-11-07 21:42:27
  • Multiple Updates
2021-06-30 00:22:59
  • Multiple Updates
2021-06-29 21:23:23
  • Multiple Updates
2021-06-28 21:23:18
  • Multiple Updates
2021-05-04 12:55:23
  • Multiple Updates
2021-04-22 02:07:44
  • Multiple Updates
2020-05-23 00:54:28
  • Multiple Updates
2018-11-13 17:19:22
  • Multiple Updates
2018-08-17 17:19:30
  • Multiple Updates
2017-12-26 09:22:02
  • Multiple Updates
2017-12-16 13:23:35
  • Multiple Updates
2017-12-16 09:21:42
  • Multiple Updates
2017-12-08 13:23:04
  • Multiple Updates
2017-12-05 13:24:05
  • Multiple Updates
2017-12-02 13:23:48
  • Multiple Updates
2017-11-07 13:25:03
  • Multiple Updates
2017-11-04 09:23:46
  • Multiple Updates
2017-11-01 17:20:53
  • Multiple Updates
2017-10-31 13:25:29
  • Multiple Updates
2017-10-25 13:25:34
  • Multiple Updates
2017-10-19 13:24:51
  • Multiple Updates
2017-10-12 13:34:41
  • Multiple Updates
2017-10-10 13:24:32
  • Multiple Updates
2017-10-10 09:23:27
  • Multiple Updates
2017-10-08 09:23:16
  • Multiple Updates
2017-10-07 13:25:06
  • Multiple Updates
2017-10-06 17:23:29
  • First insertion