Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/russellhaering/goxmldsig
  4. ›
  5. GMS-2021-681

GMS-2021-681: gosaml2 is vulnerable to NULL Pointer Dereference

June 23, 2021 (updated August 30, 2023)

This affects all versions less than 0.7.0 of package github.com/russellhaering/gosaml2. There is a crash on null pointer dereference caused by sending malformed XML signatures.

References

  • github.com/advisories/GHSA-gq5r-cc4w-g8xf
  • github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424
  • github.com/russellhaering/gosaml2/issues/59
  • github.com/russellhaering/gosaml2/pull/90
  • github.com/russellhaering/gosaml2/releases/tag/v0.7.0
  • github.com/russellhaering/goxmldsig/issues/48
  • nvd.nist.gov/vuln/detail/CVE-2020-7731
  • snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302

Code Behaviors & Features

Detect and mitigate GMS-2021-681 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.1

Fixed versions

  • v1.1.1

Solution

Upgrade to version 1.1.1 or above.

Source file

go/github.com/russellhaering/goxmldsig/GMS-2021-681.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:32 +0000.