CVE-2020-7919: Github.com/helm/helm Helm Uses Crypto Package Vulnerable Vulnerability
HIGHCVE-2020-7919 is a HIGH (CVSS 7.5) helm uses crypto package vulnerable vulnerability (CWE-295: Improper Certificate Validation) affecting Github.com/helm/helm libraries in the Go ecosystem. The issue involves helm uses crypto package vulnerable to panic from malformed x.509 certificate. Remediation is available by upgrading affected packages to version 2.16.8, 3.1.0, 0.0.0-20200124225646-8b5121be2f68.
CVE-2020-7919 at a Glance
Security Impact
CVSS: 7.5
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:N/I:N/A:H).
How to Fix CVE-2020-7919
To remediate this vulnerability, upgrade all affected Github.com/helm/helm 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/helm/helm to 2.16.8
Upgrade helm.sh/helm/v3 to 3.1.0
Upgrade golang.org/x/crypto to 0.0.0-20200124225646-8b5121be2f68
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/helm/helm
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-7919, inspect your project dependencies for Github.com/helm/helm:
inspect dependencies for github.com/helm/helm
Analyze the terminal output to locate any version of Github.com/helm/helm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.16.8), 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-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Github.com/helm/helm, 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-2020-7919 Affected Github.com/helm/helm Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/helm/helm
|
Go |
≥ 2.0.0
< 2.16.8
|
2.16.8
|
|
helm.sh/helm/v3
|
Go |
≥ 3.0.0
< 3.1.0
|
3.1.0
|
|
golang.org/x/crypto
|
Go |
< 0.0.0-20200124225646-8b5121be2f68
|
0.0.0-20200124225646-8b5121be2f68
|
References
Frequently Asked Questions
What is CVE-2020-7919?
Which Github.com/helm/helm versions are affected?
What version fixes CVE-2020-7919?
Is github.com/helm/helm affected?
Is helm.sh/helm/v3 affected?
What is the CVSS score of CVE-2020-7919?
What CWE is associated with CVE-2020-7919?
How can I check Go dependencies for CVE-2020-7919?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cjjc-xp8v-855w",
"modified" : "2024-05-31T17:06:49Z",
"published" : "2021-06-23T18:02:39Z",
"aliases" : [ "CVE-2020-7919" ],
"summary" : "Helm uses crypto package vulnerable to panic from malformed X.509 certificate",
"details" : "The Helm core maintainers have identified a high severity security vulnerability in Go's `crypto` package affecting all versions prior to Helm 2.16.8 and Helm 3.1.0.\n\nThanks to @ravin9249 for identifying the vulnerability.\n\n### Impact\n\nGo before 1.12.16 and 1.13.x before 1.13.7 (and the `crypto/cryptobyte` package before 0.0.0-20200124225646-8b5121be2f68 for Go) allows attacks on clients resulting in a panic via a malformed X.509 certificate. This may allow a remote attacker to cause a denial of service.\n\n### Patches\n\nA patch to compile Helm against Go 1.14.4 has been provided for Helm 2 and is available in Helm 2.16.8. Helm 3.1.0 and newer are compiled against Go 1.13.7+.\n\n### Workarounds\n\nNo workaround is available. Users are urged to upgrade.\n\n### References\n\n- https://nvd.nist.gov/vuln/detail/CVE-2020-7919\n- https://github.com/helm/helm/pull/8288\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [the Helm repository](https://github.com/helm/helm/issues)\n* For security-specific issues, email us at <cncf-helm-security@lists.cncf.io>",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/helm/helm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.16.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "helm.sh/helm/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "golang.org/x/crypto"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20200124225646-8b5121be2f68"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/helm/helm/security/advisories/GHSA-cjjc-xp8v-855w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-7919"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/helm/helm"
}, {
"type" : "WEB",
"url" : "https://go.dev/cl/216677"
}, {
"type" : "WEB",
"url" : "https://go.dev/cl/216680"
}, {
"type" : "WEB",
"url" : "https://go.dev/issue/36837"
}, {
"type" : "WEB",
"url" : "https://go.googlesource.com/go/+/b13ce14c4a6aa59b7b041ad2b6eed2d23e15b574"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!forum/golang-announce"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/golang-announce/-sdUB4VEQkA"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/golang-announce/Hsw4mHYc470"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/golang-announce/c/Hsw4mHYc470"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S43VLYRURELDWX4D5RFOYBNFGO6CGBBC"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2022-0229"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20200327-0001"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2021/dsa-4848"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuApr2021.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-06-18T22:07:33Z",
"nvd_published_at" : "2020-03-16T21:15:00Z"
}
}