PT-2020-14287 · Google · Goxmldsig
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
goxmldsig versions prior to 1.1.0
Description
The issue allows an attacker to bypass signature validation with a carefully crafted XML file, making it possible to pass off an altered file as a signed one. This is due to the behavior of encoding/xml, which can cause XML Digital Signature validation to be entirely bypassed.
Recommendations
For goxmldsig versions prior to 1.1.0, upgrade to at least version 1.1.0 to resolve the issue. As a temporary workaround, consider restricting the use of the
encoding/xml module until a patch is applied.Fix
Improper Verification of Cryptographic Signature
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Goxmldsig