CVE-2018-6340 Information disclosure in HHVM

High 8.1 Published Updated

An attacker controlling memcached server details can trigger an out-of-bounds read in HHVM, potentially exposing sensitive memory contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-6340?

CVE-2018-6340 is a high-severity vulnerability in Facebook HHVM, published on 31 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).

Weakness: CWE-125

Which versions are affected by CVE-2018-6340?

It affects 1 product.

Products include Facebook Hhvm.

How do I fix CVE-2018-6340?

No fix has been published for CVE-2018-6340 yet. Limit exposure of the affected software until one is available.

Is CVE-2018-6340 being exploited?

There is no known exploitation of CVE-2018-6340 in the wild and no public exploit code.

Sources

Also known as GHSA-q37v-wf54-qchq, UBUNTU-CVE-2018-6340.

Is CVE-2018-6340 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free