Executive Summary

Informations
NameCVE-2017-1000254First vendor Publication2017-10-06
VendorCveLast vendor Modification2018-11-13

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:N/I:N/A:P)
Cvss Base Score5Attack RangeNetwork
Cvss Impact Score2.9Attack ComplexityLow
Cvss Expoit Score10AuthenticationNone 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

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

CPE : Common Platform Enumeration

TypeDescriptionCount
Application117

Nessus® Vulnerability Scanner

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

Sources (Detail)

SourceUrl
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
DateInformations
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