7.5high

CVE-2018-6337

folly::secureRandom will re-use a buffer between parent and child processes when fork() is called.

Published 7 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
1.8%
percentile 78%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction (EPSS)

1.78% probability of exploitation in the next 30 days, higher than 78% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CISA ADP3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CNA3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected products

  • Facebook HHVM
  • Facebook folly

Classification

Weakness
  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

  • hhvm.com /blog/2018/05/24/hhvm-3.26.3.html · x_refsource_MISC, x_transferred
  • github.com /facebook/folly/commit/8e927ee48b114c8a2f90d0cbd5ac753795a6761f · x_refsource_MISC, x_transferred
  • github.com /facebook/hhvm/commit/e2d10a1e32d01f71aaadd81169bcb9ae86c5d6b8 · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.