Skip to content
OpenAdvisories
High · 7.5 CVE-2020-14966 EUVD-2020-0505GHSA-p8c3-7rj8-q963

ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding in jsrsasign

Published Jun 22, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

An issue was discovered in the jsrsasign package through 8.0.18 for Node.js. 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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm jsrsasign >= 4.0.0, < 8.0.19 8.0.19 GHSA-p8c3-7rj8-q963

References