Menu

Star on GitHub · 3.2k

CVE-2014-5386

5.0 · MEDIUM

The mcrypt_create_iv function in hphp/runtime/ext/mcrypt/ext_mcrypt.cpp in Facebook HipHop Virtual Machine (HHVM) before 3.3.0 does not seed the random number generator, which makes it easier for r…

Published Dec 28, 2014facebookCWE-310EPSS 1.52%

Overview

CVE-2014-5386 is a medium-severity vulnerability affecting facebook hiphop_virtual_machine. It was published on December 28, 2014 and has a CVSS 2.0 base score of 5.0 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 5.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

The mcrypt_create_iv function in hphp/runtime/ext/mcrypt/ext_mcrypt.cpp in Facebook HipHop Virtual Machine (HHVM) before 3.3.0 does not seed the random number generator, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by leveraging the use of a single initialization vector.

Remediation

Check the references section for vendor advisories and patches from facebook. Update hiphop_virtual_machine to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
facebookhiphop_virtual_machine0Affected

Frequently asked questions

What is CVE-2014-5386?

CVE-2014-5386 is a medium-severity vulnerability affecting facebook hiphop_virtual_machine. It was published on December 28, 2014 and has a CVSS 2.0 base score of 5.0 (MEDIUM).

How severe is CVE-2014-5386?

This vulnerability has a CVSS 2.0 base score of 5.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2014-5386?

Check the references section for vendor advisories and patches from facebook. Update hiphop_virtual_machine to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2014-5386?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2014-5386 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2014

View all