Skip to content

Helm uses crypto package vulnerable to panic from malformed X.509 certificate

High severity GitHub Reviewed Published Jun 10, 2020 in helm/helm • Updated May 31, 2024

Package

gomod github.com/helm/helm (Go)

Affected versions

>= 2.0.0, < 2.16.8

Patched versions

2.16.8
gomod golang.org/x/crypto (Go)
< 0.0.0-20200124225646-8b5121be2f68
0.0.0-20200124225646-8b5121be2f68
gomod helm.sh/helm/v3 (Go)
>= 3.0.0, < 3.1.0
3.1.0

Description

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.

Thanks to @ravin9249 for identifying the vulnerability.

Impact

Go 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.

Patches

A 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+.

Workarounds

No workaround is available. Users are urged to upgrade.

References

For more information

If you have any questions or comments about this advisory:

References

Published by the National Vulnerability Database Mar 16, 2020
@bacongobbler bacongobbler published to helm/helm Jun 10, 2020
Reviewed Jun 18, 2021
Published to the GitHub Advisory Database Jun 23, 2021
Last updated May 31, 2024

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS score

1.408%
(87th percentile)

Weaknesses

CVE ID

CVE-2020-7919

GHSA ID

GHSA-cjjc-xp8v-855w

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.