{"answers":{"affected":"7 open source packages ship an affected version, including go.temporal.io/server and github.com/temporalio/temporal.","exploited":"There is no known exploitation of CVE-2024-2689 in the wild and no public exploit code.","fix":"Upgrade go.temporal.io/server to a fixed version for your release line: 1.20.5, 1.21.6 or 1.22.7.","what":"CVE-2024-2689 is a medium-severity denial of service vulnerability in Temporal Server, published on 3 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-2689 and fix it if it is affected.\n\nWhat it is: CVE-2024-2689 is a medium-severity denial of service vulnerability in Temporal Server, published on 3 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-2689 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- go.temporal.io/server (Go): affected all versions; fixed in 1.20.5, 1.21.6, 1.22.7\n- github.com/temporalio/temporal (Go): affected all versions; fixed in 1.20.5\n- github.com/temporalio/temporal (Go): affected all versions; fixed in 1.20.5\n- github.com/temporalio/temporal (Go): affected from 1.21.0; fixed in 1.21.6\n- github.com/temporalio/temporal (Go): affected from 1.21.0; fixed in 1.21.6\n- github.com/temporalio/temporal (Go): affected from 1.22.0-rc1; fixed in 1.22.7\n- github.com/temporalio/temporal (Go): affected from 1.22.0-rc1; fixed in 1.22.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-2689/ (Markdown: https://insights.sbomify.com/CVE-2024-2689/index.md)","id":"CVE-2024-2689","markdown":"https://insights.sbomify.com/CVE-2024-2689/index.md","name":"CVE-2024-2689","record":{"aliases":["ECHO-a528-ab14-8bf5","GHSA-wmxc-v39r-p9wf","GO-2024-2689"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Temporal Server","requires_auth":"high_privilege","summary":"An authenticated user can cause a denial of service in Temporal Server by submitting invalid UTF-8 strings, leading to resource exhaustion and system crashes.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Temporal","cpe":[],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of Service if invalid UTF-8 sent","id":"CVE-2024-2689","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":7,"n_references":1,"next":{"headline":"SourceCodester Online Discussion Forum Site uupdate.php unrestricted upload","id":"CVE-2024-2690"},"packages":[{"ecosystem":"Go","fixed":["1.20.5"],"introduced":["0"],"last_affected":[],"package":"github.com/temporalio/temporal","purl":null,"source":"GHSA-wmxc-v39r-p9wf"},{"ecosystem":"Go","fixed":["1.20.5"],"introduced":["0"],"last_affected":[],"package":"github.com/temporalio/temporal","purl":"pkg:golang/github.com/temporalio/temporal","source":"GHSA-wmxc-v39r-p9wf"},{"ecosystem":"Go","fixed":["1.21.6"],"introduced":["1.21.0"],"last_affected":[],"package":"github.com/temporalio/temporal","purl":null,"source":"GHSA-wmxc-v39r-p9wf"},{"ecosystem":"Go","fixed":["1.21.6"],"introduced":["1.21.0"],"last_affected":[],"package":"github.com/temporalio/temporal","purl":"pkg:golang/github.com/temporalio/temporal","source":"GHSA-wmxc-v39r-p9wf"},{"ecosystem":"Go","fixed":["1.22.7"],"introduced":["1.22.0-rc1"],"last_affected":[],"package":"github.com/temporalio/temporal","purl":null,"source":"GHSA-wmxc-v39r-p9wf"},{"ecosystem":"Go","fixed":["1.22.7"],"introduced":["1.22.0-rc1"],"last_affected":[],"package":"github.com/temporalio/temporal","purl":"pkg:golang/github.com/temporalio/temporal","source":"GHSA-wmxc-v39r-p9wf"},{"ecosystem":"Go","fixed":["1.20.5","1.21.6","1.22.7"],"introduced":["0","1.21.0","1.22.0-rc1"],"last_affected":[],"package":"go.temporal.io/server","purl":"pkg:golang/go.temporal.io/server","source":"GO-2024-2689"}],"prev":{"headline":"Cross-site scripting in EmbedPress – PDF Embedder, Embed YouTube Videos, 3D FlipBook, Social feeds, Docs \u0026 more","id":"CVE-2024-2688"},"products":["Temporal Server"],"published":"2024-04-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-27","vendors":["Temporal Technologies, Inc."]},"summary":"An authenticated user can cause a denial of service in Temporal Server by submitting invalid UTF-8 strings, leading to resource exhaustion and system crashes.","url":"https://insights.sbomify.com/CVE-2024-2689/"}