CVE-2021-24036 (GCVE-0-2021-24036)
Vulnerability from cvelistv5
Published
2021-07-23 00:30
Modified
2024-08-03 19:21
Severity ?
CWE
  • CWE-122 - Heap-based Buffer Overflow ()
Summary
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.
Impacted products
Vendor Product Version
Facebook folly Patch: v2021.07.22.00   < unspecified
Version: unspecified   < v2021.07.22.00
Create a notification for this product.
   Facebook HHVM Patch: 4.118.2   < unspecified
Version: 4.118.0   < unspecified
Patch: 4.117.1   < unspecified
Version: 4.117.0
Patch: 4.116.1   < unspecified
Version: 4.116.0
Patch: 4.115.1   < unspecified
Version: 4.115.0
Patch: 4.114.1   < unspecified
Version: 4.114.0
Patch: 4.113.1   < unspecified
Version: 4.113.0
Patch: 4.102.2   < unspecified
Version: 4.102.0   < unspecified
Version: 4.81.0   < unspecified
Patch: 4.80.5   < unspecified
Version: unspecified   < 4.80.5
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T19:21:17.359Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://hhvm.com/blog/2021/07/20/security-update.html"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://www.facebook.com/security/advisories/cve-2021-24036"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "folly",
          "vendor": "Facebook",
          "versions": [
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "v2021.07.22.00",
              "versionType": "custom"
            },
            {
              "lessThan": "v2021.07.22.00",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            }
          ]
        },
        {
          "product": "HHVM",
          "vendor": "Facebook",
          "versions": [
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.118.2",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "4.118.0",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.117.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.117.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.116.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.116.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.115.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.115.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.114.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.114.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.113.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.113.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.102.2",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "4.102.0",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "4.81.0",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.80.5",
              "versionType": "custom"
            },
            {
              "lessThan": "4.80.5",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            }
          ]
        }
      ],
      "dateAssigned": "2021-05-04T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-122",
              "description": "Heap-based Buffer Overflow (CWE-122)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-07-23T00:30:16.000Z",
        "orgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
        "shortName": "facebook"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://hhvm.com/blog/2021/07/20/security-update.html"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://www.facebook.com/security/advisories/cve-2021-24036"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve-assign@fb.com",
          "DATE_ASSIGNED": "2021-05-04",
          "ID": "CVE-2021-24036",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "folly",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "v2021.07.22.00"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_value": "v2021.07.22.00"
                          }
                        ]
                      }
                    },
                    {
                      "product_name": "HHVM",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.118.2"
                          },
                          {
                            "version_affected": "\u003e=",
                            "version_value": "4.118.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.117.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.117.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.116.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.116.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.115.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.115.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.114.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.114.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.113.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.113.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.102.2"
                          },
                          {
                            "version_affected": "\u003e=",
                            "version_value": "4.102.0"
                          },
                          {
                            "version_affected": "\u003e=",
                            "version_value": "4.81.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.80.5"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_value": "4.80.5"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Facebook"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "Heap-based Buffer Overflow (CWE-122)"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://hhvm.com/blog/2021/07/20/security-update.html",
              "refsource": "CONFIRM",
              "url": "https://hhvm.com/blog/2021/07/20/security-update.html"
            },
            {
              "name": "https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3",
              "refsource": "MISC",
              "url": "https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3"
            },
            {
              "name": "https://www.facebook.com/security/advisories/cve-2021-24036",
              "refsource": "CONFIRM",
              "url": "https://www.facebook.com/security/advisories/cve-2021-24036"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
    "assignerShortName": "facebook",
    "cveId": "CVE-2021-24036",
    "datePublished": "2021-07-23T00:30:16.000Z",
    "dateReserved": "2021-01-13T00:00:00.000Z",
    "dateUpdated": "2024-08-03T19:21:17.359Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…