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://github.com/facebook/folly/commit/8e927ee48b114c8a2f90d0cbd5ac753795a6761f | Patch Third Party Advisory |
https://github.com/facebook/folly/commit/8e927ee48b114c8a2f90d0cbd5ac753795a6761f | Patch Third Party Advisory |
https://github.com/facebook/hhvm/commit/e2d10a1e32d01f71aaadd81169bcb9ae86c5d6b8 | Patch Third Party Advisory |
https://github.com/facebook/hhvm/commit/e2d10a1e32d01f71aaadd81169bcb9ae86c5d6b8 | Patch Third Party Advisory |
https://hhvm.com/blog/2018/05/24/hhvm-3.26.3.html | Release Notes Vendor Advisory |
https://hhvm.com/blog/2018/05/24/hhvm-3.26.3.html | Release Notes Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
06 May 2025, 17:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/facebook/folly/commit/8e927ee48b114c8a2f90d0cbd5ac753795a6761f - Patch, Third Party Advisory | |
References | () https://hhvm.com/blog/2018/05/24/hhvm-3.26.3.html - Release Notes, Vendor Advisory | |
References | () https://github.com/facebook/hhvm/commit/e2d10a1e32d01f71aaadd81169bcb9ae86c5d6b8 - Patch, Third Party Advisory |
Information
Published : 2018-12-31 22:29
Updated : 2025-05-06 17:15
NVD link : CVE-2018-6337
Mitre link : CVE-2018-6337
JSON object : View
Products Affected
- folly
- hhvm
CWE
CWE-119
Improper Restriction of Operations within the Bounds of a Memory Buffer