{"containers":{"cna":{"affected":[{"product":"HHVM","vendor":"Facebook","versions":[{"status":"affected","version":"3.30.2"},{"lessThan":"unspecified","status":"affected","version":"3.30.0","versionType":"custom"},{"status":"affected","version":"3.27.6"},{"lessThan":"3.27.6","status":"affected","version":"unspecified","versionType":"custom"}]}],"dateAssigned":"2018-12-11T00:00:00.000Z","datePublic":"2019-01-15T00:00:00.000Z","descriptions":[{"lang":"en","value":"The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large. The internal implementation of the function will cause a string to be created with an invalid length, which can then interact poorly with other functions. This affects all supported versions of HHVM (3.30.1 and 3.27.5 and below)."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"Heap-based Buffer Overflow (CWE-122)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2019-01-15T21:57:01.000Z","orgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","shortName":"facebook"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3"},{"tags":["x_refsource_MISC"],"url":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-assign@fb.com","DATE_ASSIGNED":"2018-12-11","ID":"CVE-2018-6345","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"HHVM","version":{"version_data":[{"version_affected":"!=>","version_value":"3.30.2"},{"version_affected":">=","version_value":"3.30.0"},{"version_affected":"!=>","version_value":"3.27.6"},{"version_affected":"<","version_value":"3.27.6"}]}}]},"vendor_name":"Facebook"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large. The internal implementation of the function will cause a string to be created with an invalid length, which can then interact poorly with other functions. This affects all supported versions of HHVM (3.30.1 and 3.27.5 and below)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Heap-based Buffer Overflow (CWE-122)"}]}]},"references":{"reference_data":[{"name":"https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3","refsource":"MISC","url":"https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3"},{"name":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html","refsource":"MISC","url":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-05T06:01:48.683Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html"}]}]},"cveMetadata":{"assignerOrgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","assignerShortName":"facebook","cveId":"CVE-2018-6345","datePublished":"2019-01-15T22:00:00.000Z","dateReserved":"2018-01-26T00:00:00.000Z","dateUpdated":"2024-08-05T06:01:48.683Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}