CVE-2020-14968

An issue was discovered in the jsrsasign package before 8.0.17 for Node.js

published June 22, 2020

CVSS
—
EPSS
3%
Percentile
86.7
In the wild
Unconfirmed
What it is

⚠️ A sneaky flaw in the jsrsasign package means attackers can slip in extra bytes to manipulate signatures — think of it as someone adding a few extra ingredients to a recipe and passing it off as the original. 🍽️ Picture a chef trying to verify a dish by taste — if someone sneaks in a few extra spices, the chef might think it’s perfect! This vulnerability lets attackers create multiple valid signatures, leading to confusion and potential chaos in your application. An attacker could exploit this by creating seemingly valid signatures that shouldn't exist, leading to possible memory corruption issues. This could open the door to unexpected behavior in your application and potentially expose sensitive data or functionality.

Put simply

Picture a chef trying to verify a dish by taste — if someone sneaks in a few extra spices, the chef might think it’s perfect! This vulnerability lets attackers create multiple valid signatures, leading to confusion and potential chaos in your application. The jsrsasign package's implementation of RSASSA-PSS fails to reject modified signatures when attackers prepend '\0' bytes, allowing for the creation of multiple valid signatures where there should only be one. This could also lead to critical memory corruption.

What to do

An attacker could exploit this by creating seemingly valid signatures that shouldn't exist, leading to possible memory corruption issues. This could open the door to unexpected behavior in your application and potentially expose sensitive data or functionality. Upgrade the jsrsasign package to version 8.0.17 or later to close this loophole. Additionally, review the usage of signature verification in your application to ensure it only accepts valid signatures. You've got this! By patching and reviewing your code, you can keep things secure and protect your application. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02863 · 86.7th percentile
Published
2020-06-22T11:19Z
EPSS history
Timeline
  • 22 JUN 11:19Z
    An issue was discovered in the jsrsasign package before 8.0.17 for Node.js
    cvelistv5