CVE-2024-37152: Github.com/argoproj/argo cd/v2/server Unauthenticated Access To Sensitive Settings Vulnerability
MODERATECVE-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.
CVE-2024-37152 at a Glance
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).
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.
Upgrade github.com/argoproj/argo-cd/v2/server to 2.9.17
Upgrade github.com/argoproj/argo-cd/v2/server to 2.10.12
Upgrade github.com/argoproj/argo-cd/v2/server to 2.11.3
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
CVE-2024-37152 Affected Github.com/argoproj/argo cd/v2/server Versions
3 component(s)| 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?
Which Github.com/argoproj/argo cd/v2/server versions are affected?
What version fixes CVE-2024-37152?
Is github.com/argoproj/argo-cd/v2/server affected?
What is the CVSS score of CVE-2024-37152?
What CWE is associated with CVE-2024-37152?
How can I check Go dependencies for CVE-2024-37152?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}