Signature Validation Bypass Affecting xml-crypto package, versions <2.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-XMLCRYPTO-1023301
  • published28 Oct 2020
  • disclosed27 Oct 2020
  • creditBrian Wolff

Introduced: 27 Oct 2020

CVE NOT AVAILABLE CWE-347  (opens in a new tab)

How to fix?

Upgrade xml-crypto to version 2.0.0 or higher.

Overview

xml-crypto is a xml digital signature and encryption library for Node.js.

Affected versions of this package are vulnerable to Signature Validation Bypass. An attacker can inject an HMAC-SHA1 signature that is valid using only knowledge of the RSA public key. This allows bypassing signature validation.

CVSS Scores

version 3.1