Allocation of Resources Without Limits or Throttling Affecting github.com/argoproj/argo-cd/v2/controller/cache package, versions >=2.1.0 <2.8.17 >=2.9.0 <2.9.13 >=2.10.0 <2.10.8


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-GITHUBCOMARGOPROJARGOCDV2CONTROLLERCACHE-6689301
  • published 28 Apr 2024
  • disclosed 26 Apr 2024
  • credit Michael Crenshaw

How to fix?

Upgrade github.com/argoproj/argo-cd/v2/controller/cache to version 2.8.17, 2.9.13, 2.10.8 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling by supplying an invalid value for jqPathExpressions to the NewIgnoreNormalizer() function in diff_normalizer.go, which is controlled by the ignoreDifferences directive.

PoC

ignoreDifferences:
    - group: apps
       kind: Deployment
       jqPathExpressions: 
        - 'until(true == false; [.] + [1])'

CVSS Scores

version 3.1
Expand this section

Snyk

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