GHSA-7jr6-prv4-5wf5: Duplicate Advisory Helm Passes Repository Credentials To Vulnerability
MODERATEGHSA-7jr6-prv4-5wf5 is a MODERATE (CVSS 6.8) helm passes repository credentials to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves helm passes repository credentials to alternate domain. Remediation is available by upgrading affected packages to version 3.6.1.
GHSA-7jr6-prv4-5wf5 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N).
How to Fix GHSA-7jr6-prv4-5wf5
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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 helm.sh/helm/v3 to 3.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for helm.sh/helm/v3
How to Check if You Are Affected
To determine whether your application is affected by GHSA-7jr6-prv4-5wf5, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for helm.sh/helm/v3
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.1), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Duplicate Advisory, 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
GHSA-7jr6-prv4-5wf5 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
helm.sh/helm/v3
|
Go |
< 3.6.1
|
3.6.1
|
References
Frequently Asked Questions
What is GHSA-7jr6-prv4-5wf5?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-7jr6-prv4-5wf5?
Is helm.sh/helm/v3 affected?
What is the CVSS score of GHSA-7jr6-prv4-5wf5?
What CWE is associated with GHSA-7jr6-prv4-5wf5?
How can I check Go dependencies for GHSA-7jr6-prv4-5wf5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7jr6-prv4-5wf5",
"modified" : "2024-05-20T21:26:28Z",
"published" : "2021-06-23T18:14:31Z",
"withdrawn" : "2024-05-20T21:26:28Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Helm passes repository credentials to alternate domain",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-56hp-xqp3-w2jf. This link is maintained to preserve external references.\n\n## Original Description\nHelm is a tool for managing Charts (packages of pre-configured Kubernetes resources). In versions of helm prior to 3.6.1, a vulnerability exists where the username and password credentials associated with a Helm repository could be passed on to another domain referenced by that Helm repository. This issue has been resolved in 3.6.1. There is a workaround through which one may check for improperly passed credentials. One may use a username and password for a Helm repository and may audit the Helm repository in order to check for another domain being used that could have received the credentials. In the `index.yaml` file for that repository, one may look for another domain in the `urls` list for the chart versions. If there is another domain found and that chart version was pulled or installed, the credentials would be passed on.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "helm.sh/helm/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/helm/helm/security/advisories/GHSA-56hp-xqp3-w2jf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-32690"
}, {
"type" : "WEB",
"url" : "https://github.com/helm/helm/commit/61d8e8c4a6f95540c15c6a65f36a6dd0a45e7a2f"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-56hp-xqp3-w2jf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/helm/helm"
}, {
"type" : "WEB",
"url" : "https://github.com/helm/helm/releases/tag/v3.6.1"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2022-0384"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-06-18T18:34:04Z",
"nvd_published_at" : "2021-06-16T22:15:00Z"
}
}