folly::secureRandom will re-use a buffer between parent and child processes when fork() is called
Facebook HHVM · Facebook folly
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
| Facebook folly |
|
|
Facebook HHVM · Facebook folly
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
| Facebook folly |
|
|
folly::secureRandom will re-use a buffer between parent and child processes when fork() is called. That will result in multiple forked children producing repeat (or similar) results. This affects HHVM 3.26 prior to 3.26.3 and the folly library between v2017.12.11.00 and v2018.08.09.00.
From the CVE record · facebook
folly::secureRandom reuses a buffer between parent and child processes after fork(), causing forked children to produce repeated or similar results. The input does not specify how an attacker could exploit this, whether access or user interaction is needed, or whether it is reachable over a network.
Engineers running HHVM 3.26 before 3.26.3 or the folly library between v2017.12.11.00 and v2018.08.09.00 should check their deployments.