Vulnerability · Published Jun 26, 2024 · Assigned by GitHub_M
CVE-2024-38375@fastly/js-compute use-after-free in some host call implementations
Medium 5.3
In plain English
A medium-severity use-after-free in js-compute-runtime from fastly. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @fastly/js-compute | 3.16.0 | GHSA-mp3g-vpm9-9vqv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| fastly | js-compute-runtime | >= 3.0.0, < 3.16.0 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H