In the crypt function, we attempt to null terminate a buffer using the size of the input salt without validating that…
Facebook HHVM
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
Facebook HHVM
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
In the crypt function, we attempt to null terminate a buffer using the size of the input salt without validating that the offset is within the buffer. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.
From the CVE record · facebook
HHVM's crypt function uses the input salt length to null-terminate a buffer without checking whether the offset is within the buffer. This can cause an out-of-bounds write. The input does not establish whether exploitation requires network access, authentication, or user interaction.
Engineers running HHVM before 4.56.3, from 4.57.0 through 4.80.1, from 4.81.0 through 4.93.1, or versions 4.94.0 through 4.98.0 should check their deployments.