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.
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.
There is no workaround. Not to use RSA signature validation in jsrsasign.
Vendor References
- GHSA-27fj-mc8w-j9wg -
github.com/advisories/GHSA-27fj-mc8w-j9wg
CVEs related to QID 982723
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-27fj-mc8w-j9wg | jsrsasign |
|