Buffer overflow in Facebook Folly
CVE-2018-6337
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.018, 78.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Facebook Folly — versions v2018.08.09.00, v2017.12.11.00, unspecified
- Facebook Hhvm — versions 3.26.3, 3.26.0, unspecified
Weakness classification (CWE)
References
- hhvm.com/blog/2018/05/24/hhvm-3.26.3.html (Release Notes, Vendor Advisory)
- github.com/facebook/folly/commit/8e927ee48b114c8a2f90d0cbd5ac753795a6761f (Patch, Third Party Advisory)
- github.com/facebook/hhvm/commit/e2d10a1e32d01f71aaadd81169bcb9ae86c5d6b8 (Patch, Third Party Advisory)