CVE-2024-2689: Github.com/temporalio/temporal Denial of Service Vulnerability
MODERATECVE-2024-2689 is a MODERATE (CVSS 4.4) denial of service vulnerability (CWE-20: Improper Input Validation) affecting Github.com/temporalio/temporal libraries in the Go ecosystem. The issue involves temporal server denial of service. Remediation is available by upgrading affected packages to version 1.22.7, 1.21.6, 1.20.5.
CVE-2024-2689 at a Glance
Security Impact
CVSS: 4.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2024-2689
To remediate this vulnerability, upgrade all affected Github.com/temporalio/temporal dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/temporalio/temporal to 1.22.7
Upgrade github.com/temporalio/temporal to 1.21.6
Upgrade github.com/temporalio/temporal to 1.20.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/temporalio/temporal
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-2689, inspect your project dependencies for Github.com/temporalio/temporal:
inspect dependencies for github.com/temporalio/temporal
Analyze the terminal output to locate any version of Github.com/temporalio/temporal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.22.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/temporalio/temporal, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-2689 Affected Github.com/temporalio/temporal Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/temporalio/temporal
|
Go |
≥ 1.22.0-rc1
< 1.22.7
|
1.22.7
|
|
github.com/temporalio/temporal
|
Go |
≥ 1.21.0
< 1.21.6
|
1.21.6
|
|
github.com/temporalio/temporal
|
Go |
< 1.20.5
|
1.20.5
|
References
Frequently Asked Questions
What is CVE-2024-2689?
Which Github.com/temporalio/temporal versions are affected?
What version fixes CVE-2024-2689?
Is github.com/temporalio/temporal affected?
What is the CVSS score of CVE-2024-2689?
What CWE is associated with CVE-2024-2689?
How can I check Go dependencies for CVE-2024-2689?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wmxc-v39r-p9wf",
"modified" : "2025-02-28T17:42:50Z",
"published" : "2024-04-04T00:33:11Z",
"aliases" : [ "CVE-2024-2689" ],
"summary" : "Temporal Server Denial of Service",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/temporalio/temporal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.22.0-rc1"
}, {
"fixed" : "1.22.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/temporalio/temporal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.21.0"
}, {
"fixed" : "1.21.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/temporalio/temporal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.20.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-2689"
}, {
"type" : "WEB",
"url" : "https://github.com/temporalio/temporal/commit/2099dfd945accbf794404c3b8d990d109de19f06"
}, {
"type" : "WEB",
"url" : "https://github.com/temporalio/temporal/commit/679e3dc2ca8bd39e02c760f686cc8807f817bbfd"
}, {
"type" : "WEB",
"url" : "https://github.com/temporalio/temporal/commit/f1fab97129f964dcca17d1f7c344f38666d1ee5f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/temporalio/temporal"
}, {
"type" : "WEB",
"url" : "https://github.com/temporalio/temporal/releases"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-04T14:21:49Z",
"nvd_published_at" : "2024-04-03T22:15:07Z"
}
}