Back to CVE catalog
CVE-2018-6337

Buffer reuse in folly::secureRandom after fork()

Facebook HHVM

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS summary v3.1

7.5High
Published:
Updated:
EPSS:
1.778%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:FacebookHHVMAffected versions:
3.26.3Show full version range for HHVM
≥ 3.26.0, < unspecified
  • Other source statuses: unaffected: ≥ unspecified, < 3.26.0
Vendor:FacebookfollyAffected versions:
v2018.08.09.00Show full version range for folly
≥ v2017.12.11.00, < unspecified
  • Other source statuses: unaffected: ≥ unspecified, < v2017.12.11.00

1–2 of 2 · Page 1 of 1

CVSS scores and metrics5
CISA-ADP · CVE List / CNA (adp)Primary7.5 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)7.5 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
[email protected] · NVD (Primary)7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVE-2018-6337 · OSV (source-vector)7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories7

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences