CVE-2020-7711: GO-2020-0046 - Panic due to malformed XML digital signature in github.com/russellhaering/goxmldsig

CVE-2020-7711 · Severity: low · CVSS 3.1 · Published 2021-04-14

Panic due to malformed XML digital signature in github.com/russellhaering/goxmldsig

Technologies: github.com/russellhaering/gosaml2 (Go), github.com/russellhaering/goxmldsig (Go). Vendors: Go.

Quick answers

Is CVE-2020-7711 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-7711 being exploited in the wild.
How severe is CVE-2020-7711?
Low severity, with a CVSS score of 3.1, published 14 April 2021.
Which products and versions are affected?
github.com/russellhaering/gosaml2 (Go) SEMVER:introduced=0,fixed=0.7.0; github.com/russellhaering/goxmldsig (Go) SEMVER:introduced=0,fixed=1.1.1.
Is there a fix for CVE-2020-7711?
Yes. github.com/russellhaering/gosaml2 (Go): upgrade to 0.7.0 or later; github.com/russellhaering/goxmldsig (Go): upgrade to 1.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-7711?
Check whether you run github.com/russellhaering/gosaml2 (Go) or github.com/russellhaering/goxmldsig (Go) 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/russellhaering/gosaml2 (Go): upgrade to 0.7.0 or later
    go get github.com/russellhaering/gosaml2@v0.7.0
  • github.com/russellhaering/goxmldsig (Go): upgrade to 1.1.1 or later
    go get github.com/russellhaering/goxmldsig@v1.1.1

Affected products

  • github.com/russellhaering/gosaml2 (Go) SEMVER:introduced=0,fixed=0.7.0
  • github.com/russellhaering/goxmldsig (Go) SEMVER:introduced=0,fixed=1.1.1

Identifiers

  • CVE-2020-7711
  • CVE-2020-7731
  • GHSA-gq5r-cc4w-g8xf
  • GHSA-mqqv-chpx-vq25
  • GHSA-prjq-f4q3-fvfr
  • GO-2020-0046

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