{"id":"CVE-2024-38375","published":"2024-06-26T18:46:12Z","modified":"2024-08-02T04:04:25Z","title":"@fastly/js-compute use-after-free in some host call implementations","vendor":"fastly","product":"js-compute-runtime","tier":"tail","description":{"text":"@fastly/js-compute is a JavaScript SDK and runtime for building Fastly Compute applications. The implementation of several functions were determined to include a use-after-free bug. This bug could allow for unintended data loss if the result of the preceding functions were sent anywhere else, and often results in a guest trap causing services to return a 500. This bug has been fixed in version 3.16.0 of the `@fastly/js-compute` package.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00266,"percentile":0.18867,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3","tags":["x_refsource_MISC"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":3.77},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"fastly","affectedVersions":[{"vendor":"fastly","product":"js-compute-runtime","versions":[">= 3.0.0, < 3.16.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-30T19:52:41.445876Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@fastly/js-compute","vulnerableRanges":[">=3.0.0, <3.16.0"],"patched":["3.16.0"],"from":["GHSA-mp3g-vpm9-9vqv"],"provenance":"source"}],"summary":{"text":"The use-after-free flaw affects the @fastly/js-compute JavaScript SDK and runtime (js-compute-runtime) for Fastly Compute applications, in the implementations of several host call functions. An attacker with network access who can meet high-complexity conditions, hold privileges, and get a user to take action could trigger it to cause unintended data loss or a guest trap that makes services return HTTP 500 errors.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:33Z"},"euvd":{"id":"EUVD-2024-2111","exploited":false,"provenance":"source"}}