A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
A caller with write permission in a namespace can terminate temporal-proxy through memory exhaustion by storing highly compressed payloads in Workflow history, and the stored history causes the same failure on every later read. temporal-proxy 1.2.0 decompresses every payload marked as compressed in the responses it forwards, whether or not compression is configured. Each payload is limited to 4 MiB after decompression, but the total for a response is not, and the decoded payloads are held in memory together. The caller can store many small, highly compressed payloads through the proxy or directly at the upstream Temporal service. When that history is read through the proxy, for example by a Worker processing a task, the proxy can run out of memory and be terminated. The codec server's /decode endpoint is affected in the same way when it is enabled. Only temporal-proxy 1.2.0 is affected; earlier versions do not decompress payloads. The issue is fixed in 1.2.1. Upgrade to 1.2.1 or later.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /temporalio/temporal-proxy/blob/v1.2.0/internal/proxy/codec…
- github.com /temporalio/temporal-proxy/blob/v1.2.0/pkg/codec/compressor…
- github.com /temporalio/temporal-proxy/commit/5c5060cc77c8e94a01de1414c…
- github.com /temporalio/temporal-proxy/commit/ea70ede864cdf6aa9591432d0…
- github.com /temporalio/temporal-proxy/pull/295
- github.com /temporalio/temporal-proxy/pull/301
- github.com /temporalio/temporal-proxy/releases/tag/v1.2.1
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning