GHSA-c27r-x354-4m68 – xml-crypto
Package
Manager: npm
Name: xml-crypto
Vulnerable Version: >=0 <=1.5.3
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:H/RL:U/RC:R
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
xml-crypto's HMAC-SHA1 signatures can bypass validation via key confusion ### Impact An attacker can inject an HMAC-SHA1 signature that is valid using only knowledge of the RSA public key. This allows bypassing signature validation. ### Patches Version 2.0.0 has the fix. ### Workarounds The recommendation is to upgrade. In case that is not possible remove the 'http://www.w3.org/2000/09/xmldsig#hmac-sha1' entry from SignedXml.SignatureAlgorithms.
Metadata
Created: 2020-10-27T20:39:46Z
Modified: 2022-08-02T20:03:05Z
Source: MANUAL
CWE IDs: ["CWE-287"]
Alternative ID: N/A
Finding: F006
Auto approve: 1