{"id":"CVE-2024-38375","state":"PUBLISHED","title":"@fastly/js-compute use-after-free in some host call implementations","description":"@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.","publishedAt":"2024-06-26T18:46:12.471Z","updatedAt":"2024-08-02T04:04:25.287Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["fastly js-compute-runtime"],"affected":[{"vendor":"fastly","product":"js-compute-runtime","versions":[{"version":">= 3.0.0, < 3.16.0","status":"affected"}]}],"references":["https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv","https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/38xxx/CVE-2024-38375.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-38375","state":"PUBLISHED","datePublished":"2024-06-26T18:46:12.471Z","dateUpdated":"2024-08-02T04:04:25.287Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-14T14:16:16.467Z"},"containers":{"cna":{"title":"@fastly/js-compute use-after-free in some host call implementations","descriptions":[{"lang":"en","value":"@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."}],"affected":[{"vendor":"fastly","product":"js-compute-runtime","versions":[{"version":">= 3.0.0, < 3.16.0","status":"affected"}]}],"references":[{"url":"https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv","name":"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","name":"https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"CWE-416: Use After Free","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-26T18:46:12.471Z"},"source":{"advisory":"GHSA-mp3g-vpm9-9vqv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-30T19:52:41.445876Z","id":"CVE-2024-38375","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-30T19:52:50.666Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv","name":"https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3","name":"https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:04:25.287Z"}}]}}}