1. CVE archive
  2. 2017
  3. CVE-2017-1000099

CVE-2017-1000099

6.5 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N 6.5 – Medium

Description

When asking to get a file from a file:// URL, libcurl provides a feature that outputs meta-data about the file using HTTP-like headers. The code doing this would send the wrong buffer to the user (stdout or the application's provide callback), which could lead to other private data from the heap to get inadvertently displayed. The wrong buffer was an uninitialized memory area allocated on the heap and if it turned out to not contain any zero byte, it would continue and display the data following that buffer in memory.

Affected products

VendorProductVersionPlatform
haxx libcurl 7.54.1 –
All 61 Haxx Libcurl vulnerabilities

Vulnerability type

CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Impact on systems

ScopeImpact
Confidentiality Read Application Data

How to prevent it

Architecture and Design · Separation of Privilege Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

All 11,922 CWE-200 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org