CVE-2024-2689 is a medium-severity (CVSS 4.4) Improper Input Validation vulnerability in github.com/temporalio/temporal. A fix is available for github.com/temporalio/temporal — see the affected versions and patch details below.
Denial of Service if invalid UTF-8 sent
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-2689.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/temporalio/temporal🐹github.com/temporalio/temporal🐹github.com/temporalio/temporalReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/temporalio/temporal | ≥ 1.22.0-rc1&&< 1.22.7 | 1.22.7go get github.com/temporalio/temporal@v1.22.7 |
| 🐹Go | github.com/temporalio/temporal | ≥ 1.21.0&&< 1.21.6 | 1.21.6go get github.com/temporalio/temporal@v1.21.6 |
| 🐹Go | github.com/temporalio/temporal | all versions | 1.20.5go get github.com/temporalio/temporal@v1.20.5 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/temporalio/temporal, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/temporalio/temporal to 1.22.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-2689 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2024-2689 in your dependencies?
Find it across Go, including transitive dependencies.