Improper Input Validation Affecting github.com/russellhaering/gosaml2 package, versions <0.6.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-6056398
  • published15 Dec 2020
  • disclosed14 Dec 2020
  • creditRoss Kinder

Introduced: 14 Dec 2020

CVE-2020-15216  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/russellhaering/gosaml2 to version 0.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. It is affected by 3 CVEs relating to XML attribute instability in encoding/xml dependency. Fix mitigates the vulnerability by validating XML is safe before parsing.

NOTE: This vulnerability has also been identified as: CVE-2020-29509

CVSS Scores

version 3.1