1. CVE archive
  2. 2014
  3. CVE-2014-6229

CVE-2014-6229

5 Medium severity CVSS v2.0 · source NVD AV:N/AC:L/Au:N/C:P/I:N/A:N 5 – Medium

Description

The HashContext class in hphp/runtime/ext/ext_hash.cpp in Facebook HipHop Virtual Machine (HHVM) before 3.3.0 incorrectly expects that a certain key string uses '\0' for termination, which allows remote attackers to obtain sensitive information by leveraging read access beyond the end of the string, and makes it easier for remote attackers to defeat cryptographic protection mechanisms by leveraging truncation of a string containing an internal '\0' character.

Affected products

VendorProductVersionPlatform
facebook hiphop virtual machine <= 3.2.0 –

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,931 CWE-200 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org