Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/russellhaering/goxmldsig
  4. ›
  5. GHSA-gq5r-cc4w-g8xf

GHSA-gq5r-cc4w-g8xf: Duplicate Advisory: gosaml2 is vulnerable to NULL Pointer Dereference from malformed XML signatures

June 23, 2021 (updated May 20, 2024)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-prjq-f4q3-fvfr. This link is maintained to preserve external references.

Original Description

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
  • 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 GHSA-gq5r-cc4w-g8xf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.1

Fixed versions

  • 1.1.1

Solution

Upgrade to version 1.1.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

go/github.com/russellhaering/goxmldsig/GHSA-gq5r-cc4w-g8xf.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:51 +0000.