{ "containers": { "cna": { "affected": [ { "product": "HHVM", "vendor": "Facebook", "versions": [ { "lessThan": "unspecified", "status": "unaffected", "version": "4.98.1", "versionType": "custom" }, { "status": "affected", "version": "4.98.0" }, { "lessThan": "unspecified", "status": "unaffected", "version": "4.97.1", "versionType": "custom" }, { "status": "affected", "version": "4.97.0" }, { "lessThan": "unspecified", "status": "unaffected", "version": "4.96.1", "versionType": "custom" }, { "status": "affected", "version": "4.96.0" }, { "lessThan": "unspecified", "status": "unaffected", "version": "4.95.1", "versionType": "custom" }, { "status": "affected", "version": "4.95.0" }, { "lessThan": "unspecified", "status": "unaffected", "version": "4.94.1", "versionType": "custom" }, { "status": "affected", "version": "4.94.0" }, { "lessThan": "unspecified", "status": "unaffected", "version": "4.93.2", "versionType": "custom" }, { "lessThan": "unspecified", "status": "affected", "version": "4.81.0", "versionType": "custom" }, { "lessThan": "unspecified", "status": "unaffected", "version": "4.80.2", "versionType": "custom" }, { "lessThan": "unspecified", "status": "affected", "version": "4.57.0", "versionType": "custom" }, { "lessThan": "unspecified", "status": "unaffected", "version": "4.56.3", "versionType": "custom" }, { "lessThan": "4.56.3", "status": "affected", "version": "unspecified", "versionType": "custom" } ] } ], "dateAssigned": "2021-01-27T00:00:00.000Z", "descriptions": [ { "lang": "en", "value": "Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0." } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-122", "description": "Heap-based Buffer Overflow (CWE-122)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2021-03-10T15:50:30.000Z", "orgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827", "shortName": "facebook" }, "references": [ { "tags": [ "x_refsource_MISC" ], "url": "https://hhvm.com/blog/2021/02/25/security-update.html" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "cve-assign@fb.com", "DATE_ASSIGNED": "2021-01-27", "ID": "CVE-2021-24025", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "HHVM", "version": { "version_data": [ { "version_affected": "!>=", "version_value": "4.98.1" }, { "version_affected": "=", "version_value": "4.98.0" }, { "version_affected": "!>=", "version_value": "4.97.1" }, { "version_affected": "=", "version_value": "4.97.0" }, { "version_affected": "!>=", "version_value": "4.96.1" }, { "version_affected": "=", "version_value": "4.96.0" }, { "version_affected": "!>=", "version_value": "4.95.1" }, { "version_affected": "=", "version_value": "4.95.0" }, { "version_affected": "!>=", "version_value": "4.94.1" }, { "version_affected": "=", "version_value": "4.94.0" }, { "version_affected": "!>=", "version_value": "4.93.2" }, { "version_affected": ">=", "version_value": "4.81.0" }, { "version_affected": "!>=", "version_value": "4.80.2" }, { "version_affected": ">=", "version_value": "4.57.0" }, { "version_affected": "!>=", "version_value": "4.56.3" }, { "version_affected": "<", "version_value": "4.56.3" } ] } } ] }, "vendor_name": "Facebook" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Heap-based Buffer Overflow (CWE-122)" } ] } ] }, "references": { "reference_data": [ { "name": "https://hhvm.com/blog/2021/02/25/security-update.html", "refsource": "MISC", "url": "https://hhvm.com/blog/2021/02/25/security-update.html" }, { "name": "https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca", "refsource": "MISC", "url": "https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca" } ] } } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-03T19:14:10.116Z" }, "title": "CVE Program Container", "references": [ { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://hhvm.com/blog/2021/02/25/security-update.html" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca" } ] } ] }, "cveMetadata": { "assignerOrgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827", "assignerShortName": "facebook", "cveId": "CVE-2021-24025", "datePublished": "2021-03-10T15:50:30.000Z", "dateReserved": "2021-01-13T00:00:00.000Z", "dateUpdated": "2024-08-03T19:14:10.116Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }