CVE-2020-1898 (GCVE-0-2020-1898)
Vulnerability from cvelistv5
Published
2021-03-11 00:55
Modified
2024-08-04 06:53
Severity ?
CWE
  • CWE-674 - Uncontrolled Recursion ()
Summary
The fb_unserialize function did not impose a depth limit for nested deserialization. That meant a maliciously constructed string could cause deserialization to recurse, leading to stack exhaustion. This issue affected HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0.
Impacted products
Vendor Product Version
Facebook HHVM Patch: 4.62.1   < unspecified
Version: 4.62.0
Patch: 4.61.1   < unspecified
Version: 4.61.0
Patch: 4.60.1   < unspecified
Version: 4.60.0
Patch: 4.59.1   < unspecified
Version: 4.59.0
Patch: 4.58.2   < unspecified
Version: 4.58.0   < unspecified
Patch: 4.57.1   < unspecified
Version: 4.57.0
Patch: 4.56.1   < unspecified
Version: 4.33.0   < unspecified
Patch: 4.32.3   < unspecified
Version: unspecified   < 4.32.3
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T06:53:59.646Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://hhvm.com/blog/2020/06/30/security-update.html"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/facebook/hhvm/commit/1746dfb11fc0048366f34669e74318b8278a684c"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "HHVM",
          "vendor": "Facebook",
          "versions": [
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.62.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.62.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.61.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.61.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.60.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.60.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.59.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.59.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.58.2",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "4.58.0",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.57.1",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.57.0"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.56.1",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "4.33.0",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "unaffected",
              "version": "4.32.3",
              "versionType": "custom"
            },
            {
              "lessThan": "4.32.3",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            }
          ]
        }
      ],
      "dateAssigned": "2020-06-09T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "The fb_unserialize function did not impose a depth limit for nested deserialization. That meant a maliciously constructed string could cause deserialization to recurse, leading to stack exhaustion. This issue affected HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-674",
              "description": "Uncontrolled Recursion (CWE-674)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-03-11T00:55:18",
        "orgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
        "shortName": "facebook"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://hhvm.com/blog/2020/06/30/security-update.html"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/facebook/hhvm/commit/1746dfb11fc0048366f34669e74318b8278a684c"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve-assign@fb.com",
          "DATE_ASSIGNED": "2020-06-09",
          "ID": "CVE-2020-1898",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "HHVM",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.62.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.62.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.61.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.61.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.60.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.60.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.59.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.59.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.58.2"
                          },
                          {
                            "version_affected": "\u003e=",
                            "version_value": "4.58.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.57.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "4.57.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.56.1"
                          },
                          {
                            "version_affected": "\u003e=",
                            "version_value": "4.33.0"
                          },
                          {
                            "version_affected": "!\u003e=",
                            "version_value": "4.32.3"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_value": "4.32.3"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Facebook"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "The fb_unserialize function did not impose a depth limit for nested deserialization. That meant a maliciously constructed string could cause deserialization to recurse, leading to stack exhaustion. This issue affected HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "Uncontrolled Recursion (CWE-674)"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://hhvm.com/blog/2020/06/30/security-update.html",
              "refsource": "CONFIRM",
              "url": "https://hhvm.com/blog/2020/06/30/security-update.html"
            },
            {
              "name": "https://github.com/facebook/hhvm/commit/1746dfb11fc0048366f34669e74318b8278a684c",
              "refsource": "MISC",
              "url": "https://github.com/facebook/hhvm/commit/1746dfb11fc0048366f34669e74318b8278a684c"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
    "assignerShortName": "facebook",
    "cveId": "CVE-2020-1898",
    "datePublished": "2021-03-11T00:55:18",
    "dateReserved": "2019-12-02T00:00:00",
    "dateUpdated": "2024-08-04T06:53:59.646Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2020-1898\",\"sourceIdentifier\":\"cve-assign@fb.com\",\"published\":\"2021-03-11T01:15:14.177\",\"lastModified\":\"2024-11-21T05:11:34.287\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The fb_unserialize function did not impose a depth limit for nested deserialization. That meant a maliciously constructed string could cause deserialization to recurse, leading to stack exhaustion. This issue affected HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0.\"},{\"lang\":\"es\",\"value\":\"La funci\u00f3n fb_unserialize no impuso un l\u00edmite de profundidad para la deserializaci\u00f3n anidada.\u0026#xa0;Eso significaba que una cadena construida maliciosamente podr\u00eda causar que una deserializaci\u00f3n se repitiera, conllevando a un agotamiento de la pila.\u0026#xa0;Este problema afect\u00f3 a HHVM versiones anteriores a v4.32.3, entre las versiones 4.33.0 y 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0\"}],\"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:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:N/I:N/A:P\",\"baseScore\":5.0,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":10.0,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"cve-assign@fb.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-674\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-674\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"4.32.3\",\"matchCriteriaId\":\"D2372F3F-5757-4097-BA67-61D7597F6D65\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.33.0\",\"versionEndExcluding\":\"4.56.1\",\"matchCriteriaId\":\"E83916FC-54F0-4A1B-99AD-0B81774170EE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.57.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"4F80C7A6-7FD9-4EAB-8533-F5C8ABF9F258\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.58.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2006DF19-68B4-4139-AAAF-7F81B9742DA7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.58.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"8A9D0CEF-7EC2-421B-A45D-48D9663DB60B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.59.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"169B4C73-75D5-46FD-BADB-384ABFB9A6C9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.60.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A48FC296-D7B6-4B58-A386-9F5F5F6294AF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.61.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5F702D76-27C2-4798-BF3C-242906E8E697\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:facebook:hhvm:4.62.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"AC078675-9A81-4B74-8818-0FFE9AF66296\"}]}]}],\"references\":[{\"url\":\"https://github.com/facebook/hhvm/commit/1746dfb11fc0048366f34669e74318b8278a684c\",\"source\":\"cve-assign@fb.com\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://hhvm.com/blog/2020/06/30/security-update.html\",\"source\":\"cve-assign@fb.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://github.com/facebook/hhvm/commit/1746dfb11fc0048366f34669e74318b8278a684c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://hhvm.com/blog/2020/06/30/security-update.html\",\"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…