title: Denial of Service if invalid UTF-8 sent
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.
problem types: CWE-20 Improper Input Validation
affected:
{
collectionURL: https://hub.docker.com/r/temporalio/server
defaultStatus: unaffected
packageName: temporalio/server
product: Temporal Server
repo: https://github.com/temporalio/temporal
vendor: Temporal Technologies, Inc.
versions:
lessThan: 1.20.5, status: affected, version: 0, versionType: semver
lessThan: 1.21.6, status: affected, version: 1.21.0, versionType: semver
lessThan: 1.22.7, status: affected, version: 1.22.0, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 4.4
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL