CVE-2020-1900 (GCVE-0-2020-1900)
Vulnerability from cvelistv5
Published
2021-03-11 00:55
Modified
2024-08-04 06:54
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-416 - Use After Free ()
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.
References
► | URL | Tags | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
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 |
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-04T06:54:00.541Z", "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/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3" } ], "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-18T00:00:00", "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." } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-416", "description": "Use After Free (CWE-416)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2021-03-11T00:55:20", "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/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "cve-assign@fb.com", "DATE_ASSIGNED": "2020-06-18", "ID": "CVE-2020-1900", "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": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Use After Free (CWE-416)" } ] } ] }, "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/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3", "refsource": "MISC", "url": "https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3" } ] } } } }, "cveMetadata": { "assignerOrgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827", "assignerShortName": "facebook", "cveId": "CVE-2020-1900", "datePublished": "2021-03-11T00:55:20", "dateReserved": "2019-12-02T00:00:00", "dateUpdated": "2024-08-04T06:54:00.541Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2020-1900\",\"sourceIdentifier\":\"cve-assign@fb.com\",\"published\":\"2021-03-11T01:15:14.490\",\"lastModified\":\"2024-11-21T05:11:34.540\",\"vulnStatus\":\"Modified\",\"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\"}],\"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-416\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"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/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3\",\"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/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3\",\"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\"]}]}}" } }
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…