QID 980504

QID 980504: Nodejs (npm) Security Update for jsrsasign (GHSA-q3gh-5r98-j4h3)

Security update has been released for jsrsasign to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Jsrsasign can verify RSA-PSS signature which value can expressed as BigInteger. When there is a valid RSA-PSS signature value, this vulnerability is also accept value with prepending zeros as a valid signature.

- If you are not use RSA-PSS signature validation, this vulnerability is not affected.
- Risk to accept a forged or crafted message to be signed is low.
- Risk to raise memory corruption is low since jsrsasign uses BigInteger class.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Users using RSA-PSS signature validation should upgrade to 8.0.17.Workaround:
    Reject RSA-PSS signatures with unnecessary prepending zeros.
    Vendor References

    CVEs related to QID 980504

    Software Advisories
    Advisory ID Software Component Link
    GHSA-q3gh-5r98-j4h3 jsrsasign URL Logo github.com/advisories/GHSA-q3gh-5r98-j4h3