Vulnerabilities in pkg:golang/github.com/argoproj/argo-cd/v2/server

PACKAGE
Advisory Identifier: GHSA-87p9-x75h-p4j2
Advisory Summary

CVE-2024-37152 is a MODERATE (CVSS 5.3) unauthenticated access to sensitive settings vulnerability (CWE-384: Session Fixation) affecting Github.com/argoproj/argo cd/v2/server libraries in the Go ecosystem. The issue involves unauthenticated access to sensitive settings in argo cd. Remediation is available by upgrading affected packages to version 2.9.17, 2.10.12, 2.11.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/argoproj/argo-cd/v2/server

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/argoproj/argo-cd/v2/server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-87p9-x75h-p4j2 CVE-2024-37152 MODERATE Unauthenticated Access to sensitive settings in Argo CD

CVE-2024-37152 at a Glance

CVE Identifier CVE-2024-37152
GHSA Identifier GHSA-87p9-x75h-p4j2
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-384: Session Fixation
Affected Product Github.com/argoproj/argo cd/v2/server
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-37152

To remediate this vulnerability, upgrade all affected Github.com/argoproj/argo cd/v2/server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/argoproj/argo-cd/v2/server fixed: 2.9.17
Upgrade github.com/argoproj/argo-cd/v2/server to 2.9.17
github.com/argoproj/argo-cd/v2/server fixed: 2.10.12
Upgrade github.com/argoproj/argo-cd/v2/server to 2.10.12
github.com/argoproj/argo-cd/v2/server fixed: 2.11.3
Upgrade github.com/argoproj/argo-cd/v2/server to 2.11.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/argoproj/argo-cd/v2/server

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-37152, inspect your project dependencies for Github.com/argoproj/argo cd/v2/server:

inspect dependencies for github.com/argoproj/argo-cd/v2/server

Analyze the terminal output to locate any version of Github.com/argoproj/argo cd/v2/server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.17), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Github.com/argoproj/argo cd/v2/server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

# Summary The CVE allows unauthorized access to the sensitive settings exposed by /api/v1/settings endpoint without authentication. # Details ## **Unauthenticated Access:** ### Endpoint: /api/v1/settings Description: This endpoint is accessible without any form of authentication as expected. All sensitive settings are hidden except `passwordPattern`. Patches A patch for this vulnerability has been released in the following Argo CD versions: v2.11.3 v2.10.12 v2.9.17 # Impact ## Unauthenticated Access: * Type: Unauthorized Information Disclosure. * Affected Parties: All users and administrators of the Argo CD instance. * Potential Risks: Exposure of sensitive configuration data, including but not limited to deployment settings, security configurations, and internal network information.

CVE-2024-37152 Affected Github.com/argoproj/argo cd/v2/server Versions

3 component(s)
Fixed Versions:
2.9.172.10.122.11.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/argoproj/argo-cd/v2/server
Go
≥ 2.9.3
< 2.9.17
2.9.17
github.com/argoproj/argo-cd/v2/server
Go
≥ 2.10.0
< 2.10.12
2.10.12
github.com/argoproj/argo-cd/v2/server
Go
≥ 2.11.0
< 2.11.3
2.11.3

References

Frequently Asked Questions

What is CVE-2024-37152?
CVE-2024-37152 is a security vulnerability in Github.com/argoproj/argo cd/v2/server involving Unauthenticated Access to sensitive settings in Argo CD under CWE-384: Session Fixation.
Which Github.com/argoproj/argo cd/v2/server versions are affected?
Affected versions include releases prior to 2.9.17, 2.10.12, 2.11.3 across affected packages: github.com/argoproj/argo-cd/v2/server.
What version fixes CVE-2024-37152?
Upgrading to 2.9.17, 2.10.12, 2.11.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/argoproj/argo-cd/v2/server affected?
Yes, github.com/argoproj/argo-cd/v2/server is affected in releases prior to 2.9.17, 2.10.12, 2.11.3. Upgrade your dependency to 2.9.17, 2.10.12, 2.11.3 or later.
What is the CVSS score of CVE-2024-37152?
CVE-2024-37152 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-37152?
CVE-2024-37152 is classified under CWE-384: Session Fixation (Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.).
How can I check Go dependencies for CVE-2024-37152?
Run the dependency tree command: 'inspect dependencies for github.com/argoproj/argo-cd/v2/server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-87p9-x75h-p4j2",
  "modified" : "2024-06-17T15:26:55Z",
  "published" : "2024-06-06T21:27:43Z",
  "aliases" : [ "CVE-2024-37152" ],
  "summary" : "Unauthenticated Access to sensitive settings in Argo CD",
  "details" : "# Summary\nThe CVE allows unauthorized access to the sensitive settings exposed by  /api/v1/settings endpoint without authentication. \n\n# Details\n## **Unauthenticated Access:**\n\n### Endpoint: /api/v1/settings\nDescription: This endpoint is accessible without any form of authentication as expected. All sensitive settings are hidden except `passwordPattern`. \n\nPatches\nA patch for this vulnerability has been released in the following Argo CD versions:\n\nv2.11.3\nv2.10.12\nv2.9.17\n\n\n# Impact\n## Unauthenticated Access:\n\n* Type: Unauthorized Information Disclosure.\n* Affected Parties: All users and administrators of the Argo CD instance.\n* Potential Risks: Exposure of sensitive configuration data, including but not limited to deployment settings, security configurations, and internal network information.\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/argoproj/argo-cd/v2/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.9.3"
      }, {
        "fixed" : "2.9.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/argoproj/argo-cd/v2/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.10.0"
      }, {
        "fixed" : "2.10.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/argoproj/argo-cd/v2/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.11.0"
      }, {
        "fixed" : "2.11.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/security/advisories/GHSA-87p9-x75h-p4j2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-37152"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/commit/256d90178b11b04bc8174d08d7b663a2a7b1771b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/argoproj/argo-cd"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2024-2902"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-287", "CWE-306", "CWE-384" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-06-06T21:27:43Z",
    "nvd_published_at" : "2024-06-06T16:15:13Z"
  }
}