{"id":"GHSA-mp3g-vpm9-9vqv","revision":"eb9dfe3574fd426daf85dda6998bcb0d","records":[{"revision":"eb9dfe3574fd426daf85dda6998bcb0d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-mp3g-vpm9-9vqv","aliases":["CVE-2024-38375"],"title":"@fastly/js-compute has a use-after-free in some host call implementations","description":"### Impact\nThe implementation of the following functions were determined to include a use-after-free bug:\n\n* `FetchEvent.client.tlsCipherOpensslName`\n* `FetchEvent.client.tlsProtocol`\n* `FetchEvent.client.tlsClientCertificate`\n* `FetchEvent.client.tlsJA3MD5`\n* `FetchEvent.client.tlsClientHello`\n* `CacheEntry.prototype.userMetadata` of the `fastly:cache` subsystem\n* `Device.lookup` of the `fastly:device` subsystem\n\nThis bug could allow for an unintended data leak if the result of the preceding functions were sent anywhere else, and often results in a Compute service crash causing an HTTP 500 error to be returned. As all requests to Compute are isolated from one another, the only data at risk is data present for a single request.\n\n### Patches\nThis bug has been fixed in version 3.16.0 of the `@fastly/js-compute` package.\n\n### Workarounds\nThere are no workarounds for this bug, any use of the affected functions introduces the possibility of a data leak or crash in guest code.","state":0,"publishedAt":"2024-06-26T19:12:23+00:00","modifiedAt":"2026-09-10T03:50:15.6510336+00:00","affected":[{"ecosystem":"npm","name":"@fastly/js-compute","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.16.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv","https://nvd.nist.gov/vuln/detail/CVE-2024-38375","https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3","https://github.com/fastly/js-compute-runtime"],"sourceUrl":"https://github.com/advisories/GHSA-mp3g-vpm9-9vqv","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mp3g-vpm9-9vqv","identifiers":["GHSA-mp3g-vpm9-9vqv","CVE-2024-38375"]},"retained":false,"historicalAffected":[]}],"coverage":[]}