Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-14968 EUVD-2020-0507GHSA-q3gh-5r98-j4h3

RSA-PSS signature validation vulnerability by prepending zeros in jsrsasign

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

Description

An issue was discovered in the jsrsasign package before 8.0.17 for Node.js. Its RSASSA-PSS (RSA-PSS) implementation does not detect signature manipulation/modification by prepending '\0' bytes to a signature (it accepts these modified signatures as valid). An attacker can abuse this behavior in an application by creating multiple valid signatures where only one signature should exist. Also, an attacker might prepend these bytes with the goal of triggering memory corruption issues.

Affected packages

EcosystemPackageAffectedFixedRecord
npm jsrsasign >= 3.0.0, < 8.0.17 8.0.17 GHSA-q3gh-5r98-j4h3

References