7.5high
Uses of deprecated API can be used to cause DoS in user-facing endpoints in Argo Events
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.63% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5q86-62xr-3r57GO-2022-0490
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| argoproj argo-events | < 1.7.1 | CVE List |
| github.com/argoproj/argo-events (Go) | before 1.7.1 | GitHub Advisory Database, Go Vulnerability Database |
| argo_events_project argo_events | before 1.7.1 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Eventsources susceptible to an out-of-memory denial-of-service attack:
- AWS SNS
- Bitbucket
- Bitbucket
- Gitlab
- Slack
- Storagegrid
- Webhook
Patches
A patch for this vulnerability has been released in the following Argo Events version:
v1.7.1
Credits
Disclosed by Ada Logics in a security audit sponsored by CNCF and facilitated by OSTIF.
For more information
Open an issue in the Argo Events issue tracker or discussions Join us on Slack in channel #argo-events
Go Vulnerability Database
Uses of deprecated API can be used to cause DoS in user-facing endpoints in github.com/argoproj/argo-events
NVD (es)
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
References
| https://github.com/argoproj/argo-events/security/advisories/GHSA-5q86-62xr-3r57 | advisory, third-party-advisory, web | |
| https://github.com/argoproj/argo-events/issues/1946 | issue-tracking, report, third-party-advisory, web | |
| https://github.com/argoproj/argo-events/pull/1966 | fix, patch, third-party-advisory, web | |
| https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35 | fix, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31054 | advisory | |
| https://github.com/argoproj/argo-events | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31054 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5q86-62xr-3r57 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0490 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-31054 changed 2026-06-17 | Public domain |