{"id":"CVE-2022-31054","published":"2022-06-13T19:40:12Z","modified":"2025-04-23T18:16:35Z","title":"Uses of deprecated API can be used to cause DoS in user-facing endpoints in Argo Events","vendor":"argoproj","product":"argo-events","tier":"tail","description":{"text":"Argo Events is an event-driven workflow automation framework for Kubernetes. Prior to version 1.7.1, several `HandleRoute` endpoints make use of the deprecated `ioutil.ReadAll()`. `ioutil.ReadAll()` reads all the data into memory. As such, an attacker who sends a large request to the Argo Events server will be able to crash it and cause denial of service. A patch for this vulnerability has been released in Argo Events version 1.7.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01666,"percentile":0.77116,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/argoproj/argo-events/security/advisories/GHSA-5q86-62xr-3r57","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/argoproj/argo-events/issues/1946","tags":["x_refsource_MISC"]},{"url":"https://github.com/argoproj/argo-events/pull/1966","tags":["x_refsource_MISC"]},{"url":"https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35","tags":["x_refsource_MISC"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":15.42},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"argoproj","affectedVersions":[{"vendor":"argoproj","product":"argo-events","versions":["< 1.7.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:54:17.498243Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-events","vulnerableRanges":["<1.7.1"],"patched":["1.7.1"],"from":["GHSA-5q86-62xr-3r57","GO-2022-0490"],"provenance":"source"}],"summary":{"text":"The flaw lies in several HandleRoute endpoints of the Argo Events server in argoproj's argo-events product, which use the deprecated ioutil.ReadAll() to load entire request bodies into memory. An unauthenticated remote attacker who sends a sufficiently large request over the network can exhaust resources and crash the server, causing denial of service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:22Z"},"euvd":{"id":"EUVD-2022-5946","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-argoproj-argo-events-cve-2022-31054","children":[{"from":"CVE-2022-31054","to":"CVE-2022-25856","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["sensors/artifacts/git.go"],"commits":["https://github.com/argoproj/argo-events/commit/d0f66dbce78bc31923ca057b20fc722aa24ca961","https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35"],"basis":"shared function","functions":["readFromRepository"]}]}]}}