CVE-2021-24036

Critical

Description

Passing an attacker controlled size when creating an IOBuf could cause integer overflow, leading to an out of bounds write on the heap with the possibility of remote code execution. This issue affects versions of folly prior to v2021.07.22.00. This issue affects HHVM versions prior to 4.80.5, all versions between 4.81.0 and 4.102.1, all versions between 4.103.0 and 4.113.0, and versions 4.114.0, 4.115.0, 4.116.0, 4.117.0, 4.118.0 and 4.118.1.

SeverityCritical
CVSS9.8
Exploit probability—
ProductFacebook Folly
PublishedJul 23, 2021
First seenJul 23, 2021
Weakness typeCWE-122CWE-122

How to fix

Update
  • facebook folly2021.07.22.00 or later
  • facebook hhvm4.80.5 or later

Affected products

ProductAffected versionsFixed in
facebook follyv < 2021.07.22.002021.07.22.00
facebook hhvmv < 4.80.5, 4.81.0 ≤ v ≤ 4.102.1, 4.103.0 ≤ v ≤ 4.113.0, 4.114.0, 4.115.0, 4.116.0, 4.117.0, 4.118.0, 4.118.14.80.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.