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

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), helm.sh/helm/v3 (Go), stdlib (Go). 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
    go get github.com/helm/helm@v2.16.8
  • golang.org/x/crypto (Go): upgrade to 0.0.0-20200124225646-8b5121be2f68 or later
    go get golang.org/x/crypto@v0.0.0-20200124225646-8b5121be2f68
  • helm.sh/helm/v3 (Go): upgrade to 3.1.0 or later
    go get helm.sh/helm/v3@v3.1.0
  • stdlib (Go): upgrade to 1.13.7 or later
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.