Vulnerability · Published Apr 3, 2024 · Assigned by Temporal
CVE-2024-2689Denial of Service if invalid UTF-8 sent
Medium 4.4
In plain English
A medium-severity improper input validation in Temporal Server from Temporal Technologies, Inc.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/temporalio/temporal | 1.22.7 | GHSA-wmxc-v39r-p9wf |
| Go | github.com/temporalio/temporal | 1.21.6 | GHSA-wmxc-v39r-p9wf |
| Go | github.com/temporalio/temporal | 1.20.5 | GHSA-wmxc-v39r-p9wf |
| Go | go.temporal.io/server | 1.20.5, 1.21.6, 1.22.7 | GO-2024-2689 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Temporal Technologies, Inc. | Temporal Server | 0 – before 1.20.51.21.0 – before 1.21.61.22.0 – before 1.22.7 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/temporalio/temporal/releases release-notes