{"answers":{"affected":"6 open source packages ship an affected version, including github.com/argoproj/argo-workflows/v3, argo-workflows and github.com/argoproj/argo-workflows. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-37914 in the wild and no public exploit code.","fix":"Upgrade github.com/argoproj/argo-workflows/v3 to 3.1.6 or later.","what":"CVE-2021-37914 is a medium-severity code injection vulnerability in n/a, published on 2 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-37914 and fix it if it is affected.\n\nWhat it is: CVE-2021-37914 is a medium-severity code injection vulnerability in n/a, published on 2 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-37914 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.1.0; fixed in 3.1.6\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.1.0; fixed in 3.1.6\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.1.0; fixed in 3.1.6\n- argo-workflows (Bitnami): affected all versions; fixed in 3.1.4\n- github.com/argoproj/argo-workflows (Go): affected all versions; no fix listed\n- github.com/argoproj/argo-workflows/v2 (Go): affected all versions; no fix listed\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-2021-37914/ (Markdown: https://insights.sbomify.com/CVE-2021-37914/index.md)","id":"CVE-2021-37914","markdown":"https://insights.sbomify.com/CVE-2021-37914/index.md","name":"CVE-2021-37914","record":{"aliases":["BIT-argo-workflows-2021-37914","GHSA-h563-xh25-x54q","GO-2022-0928"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Argo Workflows","requires_auth":"none","summary":"Attackers can disrupt workflows via expression template injection if EXPRESSION_TEMPLATES is enabled and untrusted users control input parameters.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"argo_workflows","vendor":"argoproj"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"In Argo Workflows through 3.1.3, if EXPRESSION_TEMPLATES is enabled and untrusted users are allowed to specify input parameters when running workflows, an attacker may be able to disrupt a workflow because expression template output is evaluated.","ecosystems":["Bitnami","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":"Workflow re-write vulnerability using input parameter","id":"CVE-2021-37914","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":6,"n_references":2,"next":{"headline":"Command injection in n/a","id":"CVE-2021-37915"},"packages":[{"ecosystem":"Bitnami","fixed":["3.1.4"],"introduced":["0"],"last_affected":[],"package":"argo-workflows","purl":"pkg:bitnami/argo-workflows","source":"BIT-argo-workflows-2021-37914"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows","purl":"pkg:golang/github.com/argoproj/argo-workflows","source":"GO-2022-0928"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v2","purl":"pkg:golang/github.com/argoproj/argo-workflows/v2","source":"GO-2022-0928"},{"ecosystem":"Go","fixed":["3.1.6"],"introduced":["3.1.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v3","purl":null,"source":"GHSA-h563-xh25-x54q"},{"ecosystem":"Go","fixed":["3.1.6"],"introduced":["3.1.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"GHSA-h563-xh25-x54q"},{"ecosystem":"Go","fixed":["3.1.6"],"introduced":["3.1.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"GO-2022-0928"}],"prev":{"headline":"HGiga OAKlouds - Command Injection-2","id":"CVE-2021-37913"},"products":["n/a"],"published":"2021-08-02","related":[{"cvss_score":9.8,"headline":"Argo Workflows has unauthorized access to Argo Workflows Template","id":"CVE-2026-28229","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":8.9,"headline":"Argo Workflows: Incomplete fix for CVE-2026-31892: ArtifactGC.PodSpecPatch bypass of Strict/Secure templateReferencing","id":"CVE-2026-54526","kev_date_added":null,"published":"2026-07-16"},{"cvss_score":8.9,"headline":"WorkflowTemplate Security Bypass via podSpecPatch in Strict/Secure Reference Mode","id":"CVE-2026-31892","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":8.5,"headline":"Argo Workflows: Exposure of artifact repository credentials","id":"CVE-2026-42295","kev_date_added":null,"published":"2026-05-09"},{"cvss_score":8.5,"headline":"Argo Workflows Is Missing Authorization in Sync ConfigMap Provider","id":"CVE-2026-42297","kev_date_added":null,"published":"2026-05-09"},{"cvss_score":8.5,"headline":"Argo Workflows exposes artifact repository credentials in workflow-controller logs","id":"CVE-2025-62157","kev_date_added":null,"published":"2025-10-14"},{"cvss_score":8.2,"headline":"Argo Workflows: Unauthenticated Memory Exhaustion (DoS) in Webhook Interceptor","id":"CVE-2026-42294","kev_date_added":null,"published":"2026-05-09"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can disrupt workflows via expression template injection if EXPRESSION_TEMPLATES is enabled and untrusted users control input parameters.","url":"https://insights.sbomify.com/CVE-2021-37914/"}