Description
In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| russellhaering | goxmldsig | < 1.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | golang-github-russellhaering-goxmldsig | 1.1.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-github-russellhaering-goxmldsig | No fix yet | — |
| Ubuntu 20.04 LTS | golang-github-russellhaering-goxmldsig | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-russellhaering-goxmldsig | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/russellhaering/goxmldsig | < 1.1.0 | 1.1.0 | GHSA-q547-gmf8-8jr7 |
References
- https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7
- https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64
- https://pkg.go.dev/github.com/russellhaering/goxmldsig?tab=overview
- FEDORA-2021-a2a7673da2 vendor-advisory
- FEDORA-2021-9316ee2948 vendor-advisory