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.
References
Link | Resource |
---|---|
https://hhvm.com/blog/2018/05/24/hhvm-3.26.3.html | Release Notes Vendor Advisory |
https://github.com/facebook/hhvm/commit/e2d10a1e32d01f71aaadd81169bcb9ae86c5d6b8 | Patch Third Party Advisory |
https://github.com/facebook/folly/commit/8e927ee48b114c8a2f90d0cbd5ac753795a6761f | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2018-12-31 14:29
Updated : 2019-10-09 16:41
NVD link : CVE-2018-6337
Mitre link : CVE-2018-6337
JSON object : View
CWE
CWE-119
Improper Restriction of Operations within the Bounds of a Memory Buffer
Products Affected
- hhvm
- folly