CVE-2024-38375 Details
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.
A use-after-free vulnerability has been identified in the @fastly/js-compute package, specifically in versions 3.0.0 prior to 3.16.0. This vulnerability exists within the implementations of several host call functions, including FetchEvent.client.tlsCipherOpensslName, FetchEvent.client.tlsProtocol, FetchEvent.client.tlsClientCertificate, FetchEvent.client.tlsJA3MD5, FetchEvent.client.tlsClientHello, CacheEntry.prototype.userMetadata, and the Device.lookup function of the fastly:device subsystem. The flaw could lead to unintended data leakage if the results of these functions were transmitted elsewhere, and frequently causes a crash in the Compute service, resulting in a 500 HTTP error. Since each request to Compute is isolated, only data from the current request is at risk.
Users can upgrade to version 3.16.0 of the @fastly/js-compute package to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 26, 2024CISA-ADP
Assessed Jul 30, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3 | CVE | Source CodeVendor |
| https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv | CVE | AdvisoryRemedyVendor |
| https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3 | [email protected] | Source CodeVendor |
| https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Fastly js-compute | >= 3.0.0, < 3.16.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Jun 26, 2024 | New CVE Received | [email protected] |
Volerion