Advisory

GO-2023-1826

Also known as: CVE-2023-34205, GHSA-jqvr-j2vg-gjrv

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.

Severity

Not rated by the source.

Dates

Published
2023-06-09 15:42 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/moov-io/signedxml

Go · All systems

Affected

  • introduced 0, fixed 1.1.0 (semver)

Fixed versions

1.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences