FKIE_CVE-2020-1900

Vulnerability from fkie_nvd - Published: 2021-03-11 01:15 - Updated: 2026-06-17 03:02
Summary
When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property array before inserting anything into it. Otherwise the array might resize, invalidating previously stored references. This pre-reservation was not occurring in 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 *
facebook hhvm *
facebook hhvm 4.57.0
facebook hhvm 4.58.0
facebook hhvm 4.58.1
facebook hhvm 4.59.0
facebook hhvm 4.60.0
facebook hhvm 4.61.0
facebook hhvm 4.62.0

{
  "affected": [
    {
      "affectedData": [
        {
          "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"
            }
          ]
        }
      ],
      "source": "cve-assign@fb.com"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "D2372F3F-5757-4097-BA67-61D7597F6D65",
              "versionEndExcluding": "4.32.3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "E83916FC-54F0-4A1B-99AD-0B81774170EE",
              "versionEndExcluding": "4.56.1",
              "versionStartIncluding": "4.33.0",
              "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",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property array before inserting anything into it. Otherwise the array might resize, invalidating previously stored references. This pre-reservation was not occurring in 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": "Cuando se anula la serializaci\u00f3n de un objeto con propiedades din\u00e1micas, HHVM necesita reservar previamente el tama\u00f1o completo de la matriz de propiedades din\u00e1micas antes de insertar algo en ella.\u0026#xa0;De lo contrario, la matriz podr\u00eda cambiar de tama\u00f1o, invalidando las referencias almacenadas previamente.\u0026#xa0;Esta reserva previa no estaba ocurriendo en 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"
    }
  ],
  "id": "CVE-2020-1900",
  "lastModified": "2026-06-17T03:02:34.887",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 7.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ],
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 9.8,
          "baseSeverity": "CRITICAL",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 5.9,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2021-03-11T01:15:14.490",
  "references": [
    {
      "source": "cve-assign@fb.com",
      "tags": [
        "Patch",
        "Third Party Advisory"
      ],
      "url": "https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3"
    },
    {
      "source": "cve-assign@fb.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://hhvm.com/blog/2020/06/30/security-update.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Third Party Advisory"
      ],
      "url": "https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://hhvm.com/blog/2020/06/30/security-update.html"
    }
  ],
  "sourceIdentifier": "cve-assign@fb.com",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-416"
        }
      ],
      "source": "cve-assign@fb.com",
      "type": "Secondary"
    },
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-416"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…