QID 982723

QID 982723: Nodejs (npm) Security Update for jsrsasign (GHSA-27fj-mc8w-j9wg)

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.

Vulnerable jsrsasign will accept RSA signature with improper PKCS#1.5 padding.
Decoded RSA signature value consists following form:
01(ff...(8 or more ffs)...ff)00[ASN.1 OF DigestInfo]
Its byte length shall be the same as RSA key length however such checking was not sufficient.

To make crafted message for practical attack is very hard.

  • CVSS V3 rated as Critical - 9.1 severity.
  • CVSS V2 rated as High - 6.4 severity.
  • Solution
    Users validating RSA signature should upgrade to 10.2.0 or later.Workaround:
    There is no workaround. Not to use RSA signature validation in jsrsasign.
    Vendor References

    CVEs related to QID 982723

    Software Advisories
    Advisory ID Software Component Link
    GHSA-27fj-mc8w-j9wg jsrsasign URL Logo github.com/advisories/GHSA-27fj-mc8w-j9wg