CVE-2018-6337Facebook Folly
High 7.5 No auth needed
Follow: this CVE · Facebook · Facebook Folly We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Dec 31, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Folly.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| folly | ≥ 2017.12.11.00 ≤ 2018.08.09.00 | |
| hhvm | ≥ 3.26 < 3.26.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- hhvm.com Release Notes Vendor Advisory