Signature Bypass Affecting jsrsasign package, versions <8.0.18


0.0
low

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.68% (80th percentile)
Expand this section
NVD
7.5 high

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 ID SNYK-JS-JSRSASIGN-572936
  • published 22 Jun 2020
  • disclosed 22 Jun 2020
  • credit Antonio de la Piedra

How to fix?

Upgrade jsrsasign to version 8.0.18 or higher.

Overview

jsrsasign is a free pure JavaScript cryptographic library.

Affected versions of this package are vulnerable to Signature Bypass. It allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and '0' characters appended or prepended to an integer. The modified signatures are verified as valid. This could have a security-relevant impact if an application relied on a single canonical signature.