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",
      "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",
        "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",
    "dateReserved": "2021-01-13T00:00:00",
    "dateUpdated": "2024-08-03T19:21:17.359Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-24036\",\"sourceIdentifier\":\"cve-assign@fb.com\",\"published\":\"2021-07-23T01:15:07.073\",\"lastModified\":\"2024-11-21T05:52:15.343\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\"Pasar un tama\u00f1o controlado por un atacante al crear un IOBuf podr\u00eda causar un desbordamiento de enteros, lo que llevar\u00eda a una escritura fuera de l\u00edmites en la pila con la posibilidad de ejecuci\u00f3n de c\u00f3digo remoto. Este problema afecta a las versiones de folly anteriores a la v2021.07.22.00. Este problema afecta a las versiones de HHVM anteriores a la 4.80.5, a todas las versiones entre la 4.81.0 y la 4.102.1, a todas las versiones entre la 4.103.0 y la 4.113.0, y a las versiones 4.114.0, 4.115.0, 4.116.0, 4.117.0, 4.118.0 y 4.118.1\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"baseScore\":7.5,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"cve-assign@fb.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-122\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-190\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:folly:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"2021.07.22.00\",\"matchCriteriaId\":\"ED848EC8-F695-4D35-B067-D9E726DB8279\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"4.80.5\",\"matchCriteriaId\":\"DE717551-482F-4C7B-BE36-294F96327735\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.81.0\",\"versionEndIncluding\":\"4.102.1\",\"matchCriteriaId\":\"A47916E5-F1B3-4C34-8E91-D205F4FAEF69\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.103.0\",\"versionEndIncluding\":\"4.113.0\",\"matchCriteriaId\":\"DCB9EA9C-DD7A-4CA3-B957-710AA082A3B9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.114.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"90F2D55E-3F60-45D8-98E4-3E61E9E5AD17\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.115.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9BDA3CE0-633D-43A7-8B88-E0A1F046BC47\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.116.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B613CAC3-7B20-4315-978D-D7F5FC92F873\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.117.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A93EB623-9A2B-4554-AC52-BB23E85A0CB2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.118.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"26CBE42E-25C6-4150-9C0B-1B7CE5BEF03A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.118.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"73A1E792-0EB5-40F8-A4D6-E6ECAABC8AE5\"}]}]}],\"references\":[{\"url\":\"https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3\",\"source\":\"cve-assign@fb.com\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://hhvm.com/blog/2021/07/20/security-update.html\",\"source\":\"cve-assign@fb.com\",\"tags\":[\"Product\",\"Vendor Advisory\"]},{\"url\":\"https://www.facebook.com/security/advisories/cve-2021-24036\",\"source\":\"cve-assign@fb.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://hhvm.com/blog/2021/07/20/security-update.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Product\",\"Vendor Advisory\"]},{\"url\":\"https://www.facebook.com/security/advisories/cve-2021-24036\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]}]}}"
  }
}


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.
  • 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…