# CVE-2020-7919: GO-2022-0229 - Panic in certificate parsing in crypto/x509 and golang.org/x/crypto/cryptobyte

Source: https://junglewise.ai/threats/cve-2020-7919-helm-uses-crypto-package-vulnerable-to-panic-from-malformed-x-509  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-07-06  
License: CC BY 4.0 with a link back

CVE-2020-7919 · Severity: low · CVSS 3.1 · Published 2022-07-06

Panic in certificate parsing in crypto/x509 and golang.org/x/crypto/cryptobyte

Technologies: [golang.org/x/crypto (Go)](https://junglewise.ai/threats/technologies/golang-org-x-crypto), [helm.sh/helm/v3 (Go)](https://junglewise.ai/threats/technologies/helm-sh-helm-v3), [stdlib (Go)](https://junglewise.ai/threats/technologies/go-stdlib). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2020-7919 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-7919 being exploited in the wild.

**How severe is CVE-2020-7919?** Low severity, with a CVSS score of 3.1, published 6 July 2022.

**Which products and versions are affected?** github.com/helm/helm (Go) SEMVER:introduced=2.0.0,fixed=2.16.8; golang.org/x/crypto (Go) SEMVER:introduced=0,fixed=0.0.0-20200124225646-8b5121be2f68; helm.sh/helm/v3 (Go) SEMVER:introduced=3.0.0,fixed=3.1.0; stdlib (Go) SEMVER:introduced=0,fixed=1.12.16,introduced=1.13.0-0,fixed=1.13.7.

**Is there a fix for CVE-2020-7919?** Yes. github.com/helm/helm (Go): upgrade to 2.16.8 or later; golang.org/x/crypto (Go): upgrade to 0.0.0-20200124225646-8b5121be2f68 or later; helm.sh/helm/v3 (Go): upgrade to 3.1.0 or later; stdlib (Go): upgrade to 1.13.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-7919?** Check whether you run github.com/helm/helm (Go), golang.org/x/crypto (Go), helm.sh/helm/v3 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/helm/helm (Go): upgrade to 2.16.8 or later

  ```sh
  go get github.com/helm/helm@v2.16.8
  ```

- golang.org/x/crypto (Go): upgrade to 0.0.0-20200124225646-8b5121be2f68 or later

  ```sh
  go get golang.org/x/crypto@v0.0.0-20200124225646-8b5121be2f68
  ```

- helm.sh/helm/v3 (Go): upgrade to 3.1.0 or later

  ```sh
  go get helm.sh/helm/v3@v3.1.0
  ```

- stdlib (Go): upgrade to 1.13.7 or later

  ```sh
  go get stdlib@v1.13.7
  ```


## Affected products

- github.com/helm/helm (Go) SEMVER:introduced=2.0.0,fixed=2.16.8
- golang.org/x/crypto (Go) SEMVER:introduced=0,fixed=0.0.0-20200124225646-8b5121be2f68
- helm.sh/helm/v3 (Go) SEMVER:introduced=3.0.0,fixed=3.1.0
- stdlib (Go) SEMVER:introduced=0,fixed=1.12.16,introduced=1.13.0-0,fixed=1.13.7

## Identifiers

- CVE-2020-7919
- GHSA-cjjc-xp8v-855w
- GO-2022-0229

## Related threats

- [Go HTTP/1 server race condition in MaxBytesReader header handling](https://junglewise.ai/threats/cve-2026-97054-for-http-1-servers-when-maxbytesreader-s-limit-is-exceeded)
- [Go crypto/x509 untrusted intermediate certificate validation](https://junglewise.ai/threats/cve-2026-111943-on-most-platforms-go-uses-the-given-system-root-certificates)
- [Go crypto/tls malformed ECH extension DoS](https://junglewise.ai/threats/cve-2026-97031-go-2026-6607-reject-malformed-ech-outer-extension-references-in)
- [Go html/template XSS via missing ES2015+ keywords](https://junglewise.ai/threats/cve-2026-97030-go-2026-6600-recognize-yield-as-regexp-preceder-keyword-in-html)
- [Go html/template XSS via stale context in consecutive expressions](https://junglewise.ai/threats/cve-2026-94448-go-2026-6599-reset-context-tracking-on-consecutive-template)
