CVE-2022-31054
JSON

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 packageVersionsReported by
argoproj argo-events< 1.7.1CVE List
github.com/argoproj/argo-events (Go)before 1.7.1GitHub Advisory Database, Go Vulnerability Database
argo_events_project argo_eventsbefore 1.7.1NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

CWE-400CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2022-31054 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-5q86-62xr-3r57 changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0490 changed 2026-03-03CC-BY-4.0
NVDCVE-2022-31054 changed 2026-06-17Public domain