Buffer overflow in Jsrsasign Project

CVE-2020-14968

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.

Vulnerability class: Buffer Overflow

EPSS: 0.029 (85.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
  • cve@mitre.org (Product, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)

Frequently asked questions

What is CVE-2020-14968?
CVE-2020-14968 is a critical-severity vulnerability in Jsrsasign Project, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.8/10. Published 2020-06-22.
How severe is CVE-2020-14968?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2020-14968 known to be exploited?
20 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.