Denial of Service if invalid UTF-8 sent
Temporal Technologies, Inc. Temporal Server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/temporalio/temporal Go |
|
|
| go.temporal.io/server Go |
Temporal Technologies, Inc. Temporal Server
| Product | Affected | Fixed in |
|---|---|---|
| github.com/temporalio/temporal Go |
|
|
| go.temporal.io/server Go |
< 1.20.5≥ 1.21.0 · < 1.21.6≥ 1.22.0-rc1 · < 1.22.7
|
Denial of Service in Temporal Server prior to version 1.20.5, 1.21.6, and 1.22.7 allows an authenticated user who has permissions to interact with workflows and has crafted an invalid UTF-8 string for submission to potentially cause a crashloop. If left unchecked, the task containing the invalid UTF-8 will become stuck in the queue, causing an increase in queue lag. Eventually, all processes handling these queues will become stuck and the system will run out of resources. The workflow ID of the failing task will be visible in the logs, and can be used to remove that workflow as a mitigation. Version 1.23 is not impacted. In this context, a user is an operator of Temporal Server.
From the CVE record · Temporal
Temporal Server can mishandle an invalid UTF-8 string submitted to a workflow. An authenticated operator with permission to interact with workflows can cause a crashloop and queue lag that may eventually exhaust system resources.
Operators running Temporal Server through github.com/temporalio/temporal or go.temporal.io/server should check versions before 1.20.5, 1.21.0 through 1.21.5, and 1.22.0-rc1 through 1.22.6; version 1.23 is not impacted.