CVE-2019-3570CWE-122

Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and p)

published July 18, 2019

CVSS
—
EPSS
2%
Percentile
76.7
In the wild
Unconfirmed
What it is

⚡ A simple tweak of parameters could spiral into heap corruption in HHVM! Imagine if a recipe called for specific measurements, but a mischievous chef switched them up – chaos ensues! 🍽️ Think of it like a café where the barista mixes the wrong ingredients into a smoothie recipe. If they use too much of one ingredient (like the parameters N, r, and p), it might ruin the drink entirely, leading to unexpected flavors (or in this case, heap corruption). An attacker could craft specific parameters to cause havoc within the HHVM process, leading to information disclosure, memory overwrite, or even crashes. It’s like serving a malfunctioning smoothie that spills all over your café, ruining not just the drink but potentially the entire operation!

Put simply

Think of it like a café where the barista mixes the wrong ingredients into a smoothie recipe. If they use too much of one ingredient (like the parameters N, r, and p), it might ruin the drink entirely, leading to unexpected flavors (or in this case, heap corruption). In a nutshell, this vulnerability allows attackers to exploit the scrypt_enc() function by manipulating its parameters, leading to heap corruption where the process may crash or leak sensitive information.

What to do

An attacker could craft specific parameters to cause havoc within the HHVM process, leading to information disclosure, memory overwrite, or even crashes. It’s like serving a malfunctioning smoothie that spills all over your café, ruining not just the drink but potentially the entire operation! To safeguard against this, update to the latest stable version of HHVM where this issue has been addressed. Also, review your configurations to ensure that parameters for scrypt_enc() cannot be manipulated by untrusted sources. You’ve got this! With a bit of patching and vigilance, you can lock down HHVM and keep your café running smoothly! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01679 · 76.7th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2019-07-18T15:42Z
EPSS history
Timeline
  • 18 JUL 15:42Z
    Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and p)
    cvelistv5