{"id":"CVE-2022-31054","aliases":["CVE-2022-31054","GHSA-5q86-62xr-3r57","GO-2022-0490"],"related":[],"kind":"vulnerability","state":"published","title":"Uses of deprecated API can be used to cause DoS in user-facing endpoints in Argo Events","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nSeveral `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.\n\nEventsources susceptible to an out-of-memory denial-of-service attack:\n\n- AWS SNS\n- Bitbucket\n- Bitbucket\n- Gitlab\n- Slack\n- Storagegrid\n- Webhook\n\n### Patches\nA patch for this vulnerability has been released in the following Argo Events version:\n\nv1.7.1\n\n### Credits\nDisclosed by [Ada Logics](https://adalogics.com/) in a security audit sponsored by CNCF and facilitated by OSTIF.\n\n### For more information\nOpen an issue in the [Argo Events issue tracker](https://github.com/argoproj/argo-events/issues) or [discussions](https://github.com/argoproj/argo-events/discussions)\nJoin us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-events","format":"markdown","source":"ghsa"},{"lang":"en","text":"Uses of deprecated API can be used to cause DoS in user-facing endpoints in github.com/argoproj/argo-events","format":"markdown","source":"go"},{"lang":"es","text":"Argo Events es un marco de automatización del flujo de trabajo basado en eventos para Kubernetes. En versiones 1.7.1, varios endpoints de \"HandleRoute\" hacían uso del obsoleto \"ioutil.ReadAll()\". \"ioutil.ReadAll()\" lee todos los datos en memoria. Por lo tanto, un atacante que envíe una petición grande al servidor de Argo Events podrá bloquearlo y causar una denegación de servicio. Ha sido publicado un parche para esta vulnerabilidad en versión 1.7.1 de Argo Events","source":"nvd"}],"published":"2022-06-13T19:40:12.000Z","modified":"2026-06-17T04:44:41.910Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-787"],"affected":[{"ranges":[{"version":"< 1.7.1","status":"affected"}],"vendor":"argoproj","product":"argo-events","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.1"}],"ecosystem":"Go","package":"github.com/argoproj/argo-events","purl":"pkg:golang/github.com/argoproj/argo-events","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.1"}],"ecosystem":"Go","package":"github.com/argoproj/argo-events","purl":"pkg:golang/github.com/argoproj/argo-events","source":"go"},{"ranges":[{"status":"affected","fixed":"1.7.1"}],"vendor":"argo_events_project","product":"argo_events","cpe":"cpe:2.3:a:argo_events_project:argo_events:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/argoproj/argo-events/security/advisories/GHSA-5q86-62xr-3r57","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/argoproj/argo-events/issues/1946","tags":["issue-tracking","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/argoproj/argo-events/pull/1966","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31054","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/argoproj/argo-events","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:54:17.498Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31054","url":"https://www.cve.org/CVERecord?id=CVE-2022-31054","licence":"CVE Terms of Use","modified":"2025-04-23T18:16:35.943Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5q86-62xr-3r57","url":"https://github.com/advisories/GHSA-5q86-62xr-3r57","licence":"CC-BY-4.0","modified":"2024-08-21T15:26:47.686Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0490","url":"https://pkg.go.dev/vuln/GO-2022-0490","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:26.609Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31054","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31054","licence":"Public domain","modified":"2026-06-17T04:44:41.910Z"}],"updatedAt":"2026-11-25T22:58:12.261Z","epss":{"score":0.01633,"percentile":0.76995,"date":"2026-12-01T12:00:22.000Z"}}