Effect Bug: `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPC
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Effect-TS | effect | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Effect Project | Effect |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-38f7-945m-qr2g | Effect `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPC |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.287% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Effectful
Effectful effect |
|
| CPEs | cpe:2.3:a:effectful:effect:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Effectful
Effectful effect |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Effect Project
Effect Project effect |
|
| Vendors & Products |
Effect Project
Effect Project effect |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Effect is a TypeScript framework that consists of several packages that work together to help build TypeScript applications. Prior to version 3.20.0, when using `RpcServer.toWebHandler` (or `HttpApp.toWebHandlerRuntime`) inside a Next.js App Router route handler, any Node.js `AsyncLocalStorage`-dependent API called from within an Effect fiber can read another concurrent request's context — or no context at all. Under production traffic, `auth()` from `@clerk/nextjs/server` returns a different user's session. Version 3.20.0 contains a fix for the issue. | |
| Title | Effect Bug: `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPC | |
| Weaknesses | CWE-362 | |
| References |
| |
| Metrics |
cvssV3_1
|