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.

Severity (CVSS 3.1)4.4Medium
Exploit odds (30 days)0.5%top 57.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/temporalio/temporal1.22.7GHSA-wmxc-v39r-p9wf
Gogithub.com/temporalio/temporal1.21.6GHSA-wmxc-v39r-p9wf
Gogithub.com/temporalio/temporal1.20.5GHSA-wmxc-v39r-p9wf
Gogo.temporal.io/server1.20.5, 1.21.6, 1.22.7GO-2024-2689

Affected products (as reported)

VendorProductVersions
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