Moov-io signedxml
Moov signedxml: Unauthenticated denial of service in exclusive XML canonicalization
Moov signedxml is a pure Go library for processing signed XML documents. Prior to 1.4.1, ExclusiveCanonicalization in exclusivecanonicalization.go copies the complete accumulated namespace map at every nested element before reference digest or signature checks. Attacker-controlled XML containing deeply nested elements with many unused namespace declarations causes quadratic allocation growth with depth and linear growth with prefixes per level, allowing a comparatively small document to consume multiple gigabytes of memory and terminate the process. The condition is reachable through ValidateReferences without a valid signature, matching certificate, or prior authentication, and it does not bypass signature verification. This issue is fixed in version 1.4.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.4.1
Fixed in 1.4.1
Mitigation
Upgrade signedxml to 1.4.1 or later.
References
- Vendor advisory github.com/moov-io/signedxml/security/advisori…
- Patch github.com/moov-io/signedxml/commit/da2cd6126c…
- Release notes github.com/moov-io/signedxml/releases/tag/v1.4…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.