9.8
CRITICAL
CVE-2021-24036
Folly Heap-Based Buffer Overflow
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.

INFO

Published Date :

July 23, 2021, 1:15 a.m.

Last Modified :

Oct. 26, 2022, 12:30 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-24036 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Facebook hhvm
2 Facebook folly
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-24036.

URL Resource
https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3 Patch Third Party Advisory
https://hhvm.com/blog/2021/07/20/security-update.html Product Vendor Advisory
https://www.facebook.com/security/advisories/cve-2021-24036 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-24036 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-24036 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Oct. 26, 2022

    Action Type Old Value New Value
    Removed CWE NIST CWE-787
    Added CWE NIST CWE-190
  • Initial Analysis by [email protected]

    Aug. 04, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3 No Types Assigned https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3 Patch, Third Party Advisory
    Changed Reference Type https://hhvm.com/blog/2021/07/20/security-update.html No Types Assigned https://hhvm.com/blog/2021/07/20/security-update.html Product, Vendor Advisory
    Changed Reference Type https://www.facebook.com/security/advisories/cve-2021-24036 No Types Assigned https://www.facebook.com/security/advisories/cve-2021-24036 Vendor Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:facebook:folly:*:*:*:*:*:*:*:* versions up to (excluding) 2021.07.22.00 *cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* versions up to (excluding) 4.80.5 *cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* versions from (including) 4.81.0 up to (including) 4.102.1 *cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* versions from (including) 4.103.0 up to (including) 4.113.0 *cpe:2.3:a:facebook:hhvm:4.114.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hhvm:4.115.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hhvm:4.116.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hhvm:4.117.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hhvm:4.118.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hhvm:4.118.1:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-24036 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-24036 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.16 }} 0.01%

score

0.85049

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability