Vulnerability GO-2023-1826

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
3 years ago
June 09, 2023 at 03:42 PM UTC
Signature validation bypass in github.com/moov-io/signedxml
v1.0.0
v1.0.0

Summary

Signature validation bypass in github.com/moov-io/signedxml

Details

Signature validation canonicalizes the input XML document before validating the signature. Parsing the uncanonicalized and canonicalized forms can produce different results. An attacker can exploit this variation to bypass signature validation.

Users of signature validation must only parse the canonicalized form of the validated document. The Validator.Validate function does not return the canonical form, and cannot be used safely. Users should only use the Validator.ValidateReferences function and only parse the canonical form which it returns.

The Validator.Validate function was removed in github.com/moov-io/signedxml v1.1.0.

Timeline

Published
3 years ago
June 09, 2023 at 03:42 PM UTC
Fixed (v1.1.0)
3 years ago
May 30, 2023 at 07:13 PM UTC
Last Modified
2 years ago
May 20, 2024 at 04:03 PM UTC