{"id":"CVE-2022-31054","aliases":["GHSA-5q86-62xr-3r57","GO-2022-0490"],"summary":"Uses of deprecated API can be used to cause DoS in user-facing endpoints in Argo Events","published_at":"2022-06-13T19:40:12Z","modified_at":"2026-03-03T04:50:26.609828Z","products":[{"slug":"argo-workflows","name":"Argo Workflows / Rollouts / Events","category":"kubernetes-container"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.016330000013113022,"percentile":0.76801997423172,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"record_count":4,"vendors":["GitHub","Go"],"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"argoproj/argo-events","versions":["< 1.7.1"],"provider":"cvelistv5","source":"CVE-2022-31054","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-events","purl":"pkg:golang/github.com/argoproj/argo-events","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.1"}]}],"fixed":["1.7.1"],"provider":"osv","source":"GHSA-5q86-62xr-3r57","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-events","purl":"pkg:golang/github.com/argoproj/argo-events","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.1"}]}],"fixed":["1.7.1"],"provider":"osv","source":"GO-2022-0490","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"argo_events_project:argo_events","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.1"}]}],"fixed":["1.7.1"],"provider":"nvd","source":"CVE-2022-31054","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-31054","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-31054","license":"CC-BY-4.0","published_at":"2022-06-13T19:40:12Z","modified_at":"2025-04-23T18:16:35.943Z","summary":"Uses of deprecated API can be used to cause DoS in user-facing endpoints in Argo Events","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2022-31054"}],"affected":[{"ecosystem":"CVE","package":"argoproj/argo-events","versions":["< 1.7.1"],"provider":"cvelistv5","source":"CVE-2022-31054","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/argoproj/argo-events/security/advisories/GHSA-5q86-62xr-3r57"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/issues/1946"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/pull/1966"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35"}]},{"provider":"nvd","source_id":"CVE-2022-31054","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31054","severity":[],"affected":[{"ecosystem":"NVD","package":"argo_events_project:argo_events","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.1"}]}],"fixed":["1.7.1"],"provider":"nvd","source":"CVE-2022-31054","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-5q86-62xr-3r57","relation":"self","url":"https://osv.dev/vulnerability/GHSA-5q86-62xr-3r57","license":"CC-BY-4.0","published_at":"2022-06-17T01:02:56Z","modified_at":"2024-08-21T15:26:47.686156Z","summary":"Uses of deprecated API can be used to cause DoS in user-facing endpoints","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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-5q86-62xr-3r57"}],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-events","purl":"pkg:golang/github.com/argoproj/argo-events","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.1"}]}],"fixed":["1.7.1"],"provider":"osv","source":"GHSA-5q86-62xr-3r57","relation":"self"}],"product_status":[],"references":[{"type":"WEB","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":"WEB","url":"https://github.com/argoproj/argo-events/issues/1946"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/pull/1966"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-events"}]},{"provider":"osv","source_id":"GO-2022-0490","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0490","license":"CC-BY-4.0","published_at":"2024-08-21T15:11:33Z","modified_at":"2026-03-03T04:50:26.609828Z","summary":"Uses of deprecated API can be used to cause DoS in user-facing endpoints in github.com/argoproj/argo-events","details":"Uses of deprecated API can be used to cause DoS in user-facing endpoints in github.com/argoproj/argo-events","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-events","purl":"pkg:golang/github.com/argoproj/argo-events","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.1"}]}],"fixed":["1.7.1"],"provider":"osv","source":"GO-2022-0490","relation":"self"}],"product_status":[],"references":[{"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":"FIX","url":"https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35"},{"type":"FIX","url":"https://github.com/argoproj/argo-events/pull/1966"},{"type":"REPORT","url":"https://github.com/argoproj/argo-events/issues/1946"}]}],"references":[{"type":"WEB","url":"https://github.com/argoproj/argo-events/security/advisories/GHSA-5q86-62xr-3r57"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/issues/1946"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/pull/1966"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31054"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-events"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-31054","url":"https://www.cve.org/CVERecord?id=CVE-2022-31054","license":"CC-BY-4.0","modified_at":"2025-04-23T18:16:35.943Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-31054","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31054","relation":"self"},{"provider":"osv","source_id":"GHSA-5q86-62xr-3r57","url":"https://osv.dev/vulnerability/GHSA-5q86-62xr-3r57","license":"CC-BY-4.0","modified_at":"2024-08-21T15:26:47.686156Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0490","url":"https://osv.dev/vulnerability/GO-2022-0490","license":"CC-BY-4.0","modified_at":"2026-03-03T04:50:26.609828Z","relation":"self"}]}
