Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jsrsasign
  4. ›
  5. CVE-2020-14968

CVE-2020-14968: Improper Restriction of Operations within the Bounds of a Memory Buffer

June 22, 2020 (updated July 24, 2020)

An issue was discovered in the jsrsasign package 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-14968

Code Behaviors & Features

Detect and mitigate CVE-2020-14968 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.17

Fixed versions

  • 8.0.17

Solution

Upgrade to version 8.0.17 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

npm/jsrsasign/CVE-2020-14968.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:15 +0000.