Allocation of Resources Without Limits or Throttling Affecting github.com/argoproj/argo-cd/v2/reposerver/repository package, versions >=2.4.0 <2.8.14 >=2.9.0 <2.9.10 >=2.10.0 <2.10.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMARGOPROJARGOCDV2REPOSERVERREPOSITORY-6514818
  • published 31 Mar 2024
  • disclosed 29 Mar 2024
  • credit Jakub Ciolek

How to fix?

Upgrade github.com/argoproj/argo-cd/v2/reposerver/repository to version 2.8.14, 2.9.10, 2.10.5 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the loadRepoIndex() function, which can allow an attacker to crash the server by causing it to be pointed at a malicious Helm registry which is configured to push data continuously. Incoming requests to fetch data are not limited and will attempt to allocate memory indefinitely to retrieve a byte slice.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High