GitHub Advisory Database
GHSA-mqqv-chpx-vq25
goxmldsig vulnerable to crash on nil-pointer dereference caused by sending malformed XML signatures
Details
This affects all versions of package github.com/russellhaering/goxmldsig prior to 1.1.1. There is a crash on nil-pointer dereference caused by sending malformed XML signatures. This issue is patched in version 1.1.1.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/russellhaering/goxmldsig | All versions before 1.1.1 (fixed in 1.1.1) |
| Go | github.com/russellhaering/gosaml2 | All versions before 0.7.0 (fixed in 0.7.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7711
- https://github.com/russellhaering/gosaml2/issues/59
- https://github.com/russellhaering/goxmldsig/issues/48
- https://github.com/russellhaering/goxmldsig
- https://pkg.go.dev/vuln/GO-2020-0046
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOXMLDSIG-608301