Critical severity · published Jul 23, 2021
CVE-2021-24036
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…
9.8
CVSS
3.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.3% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FO
Folly · Facebook
before 2021.07.22.00 · source: NVD
HH
Hhvm · Facebook
before 4.80.5; 4.81.0 through 4.102.1; 4.103.0 through 4.113.0; 4.114.0; 4.115.0; 4.116.0; +3 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-24036
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-24036
Patch
https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3
Product
https://hhvm.com/blog/2021/07/20/security-update.html
Vendor Advisory
https://www.facebook.com/security/advisories/cve-2021-24036
More from Folly
9.8
CVE-2019-11934
Improper handling of close_notify alerts can result in an out-of-bounds read in AsyncSSLSocket
7.5
CVE-2018-6337
folly::secureRandom will re-use a buffer between parent and child processes when fork() is called
