GHSA-q547-gmf8-8jr7
github.com/russellhaering/goxmldsig vulnerable to Signature Validation Bypass
Quick fix
GHSA-q547-gmf8-8jr7 — github.com/russellhaering/goxmldsig: upgrade to the fixed version with the command below.
go get github.com/russellhaering/goxmldsig@v1.1.0Details
### Impact With a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one.
### Patches A patch is available, all users of goxmldsig should upgrade to v1.1.0.
### For more information If you have any questions or comments about this advisory open an issue at https://github.com/russellhaering/goxmldsig
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.1.0go get github.com/russellhaering/goxmldsig@v1.1.0References
- https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2020-15216[ADVISORY]
- https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GUH33FPUXED3FHYL25BJOQPRKFGPOMS2[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZECBFD4M4PHBMBOCMSQ537NOU37QOVWP[WEB]
- https://pkg.go.dev/github.com/russellhaering/goxmldsig?tab=overview[WEB]
- https://pkg.go.dev/vuln/GO-2020-0050[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/russellhaering/goxmldsig"]}'