{"id":"CVE-2022-31054","aliases":["GHSA-5q86-62xr-3r57","GO-2022-0490"],"url":"https://o3.security/vulnerability/CVE-2022-31054","summary":"Uses of deprecated API can be used to cause DoS in user-facing endpoints in Argo Events","details":"### 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","published":"2022-06-13T19:40:12Z","modified":"2026-08-12T03:51:25.032112299Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-events","fixedVersion":"1.7.1"}],"fix":{"url":"https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35","label":"argoproj/argo-events@eaabcb6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31054.json"},{"type":"ADVISORY","url":"https://github.com/argoproj/argo-events/security/advisories/GHSA-5q86-62xr-3r57"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31054"},{"type":"REPORT","url":"https://github.com/argoproj/argo-events/issues/1946"},{"type":"FIX","url":"https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35"},{"type":"FIX","url":"https://github.com/argoproj/argo-events/pull/1966"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-events"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:25.032112299Z"}}