{"id":"CVE-2020-1918","state":"PUBLISHED","title":"In-memory file operations (ie: using fopen on a data URI) did not properly restrict negative seeking, allowing for the reading of memory prior to the in-memory buffer. This issue a","description":"In-memory file operations (ie: using fopen on a data URI) did not properly restrict negative seeking, allowing for the reading of memory prior to the in-memory buffer. 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.","publishedAt":"2021-03-10T15:50:28.000Z","updatedAt":"2024-08-04T06:53:59.798Z","severity":null,"assigner":"facebook","products":["Facebook HHVM"],"affected":[{"vendor":"Facebook","product":"HHVM","versions":[{"version":"4.98.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.98.0","status":"affected"},{"version":"4.97.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.97.0","status":"affected"},{"version":"4.96.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.96.0","status":"affected"},{"version":"4.95.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.95.0","status":"affected"},{"version":"4.94.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.94.0","status":"affected"},{"version":"4.93.2","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.81.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"4.80.2","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.57.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"4.56.3","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"4.56.3","versionType":"custom"}]}],"references":["https://hhvm.com/blog/2021/02/25/security-update.html","https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca"],"weaknesses":["CWE-127"],"ingestedAt":"2026-10-29T19:46:49.649Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/1xxx/CVE-2020-1918.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-1918","state":"PUBLISHED","datePublished":"2021-03-10T15:50:28.000Z","dateUpdated":"2024-08-04T06:53:59.798Z","assignerShortName":"facebook","assignerOrgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","dateReserved":"2019-12-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"In-memory file operations (ie: using fopen on a data URI) did not properly restrict negative seeking, allowing for the reading of memory prior to the in-memory buffer. 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."}],"affected":[{"vendor":"Facebook","product":"HHVM","versions":[{"version":"4.98.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.98.0","status":"affected"},{"version":"4.97.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.97.0","status":"affected"},{"version":"4.96.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.96.0","status":"affected"},{"version":"4.95.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.95.0","status":"affected"},{"version":"4.94.1","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.94.0","status":"affected"},{"version":"4.93.2","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.81.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"4.80.2","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"4.57.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"4.56.3","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"4.56.3","versionType":"custom"}]}],"references":[{"url":"https://hhvm.com/blog/2021/02/25/security-update.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-127","description":"Buffer Under-read (CWE-127)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"facebook","dateUpdated":"2021-03-10T15:50:28.000Z","orgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827"},"dateAssigned":"2020-11-15T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-assign@fb.com","DATE_ASSIGNED":"2020-11-15","ID":"CVE-2020-1918","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":"In-memory file operations (ie: using fopen on a data URI) did not properly restrict negative seeking, allowing for the reading of memory prior to the in-memory buffer. 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":"Buffer Under-read (CWE-127)"}]}]},"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":[{"title":"CVE Program Container","references":[{"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","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T06:53:59.798Z"}}]}}}