-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Issue
1 vulnerabilities (high severity) is introduced in pdfkit:
Vulnerability SNYK-JS-CRYPTOJS-548472 (high severity) is detected in package crypto-js (versions:<3.2.1,>=3.3.0 <4.0.0):https://snyk.io/vuln/SNYK-JS-CRYPTOJS-548472
The above vulnerable package is referenced by pdfkit via:
pdfkit@0.12.1 ➔ crypto-js@3.3.0
Solution
Since pdfkit@0.12.* is transitively referenced by 340 downstream projects (e.g., pdfmake 0.1.71 (latest version),
svg-to-pdfkit 0.1.8 (latest version), @compodoc/compodoc 1.1.11 (latest version), @amcharts/amcharts4 4.10.20 (latest version), admin-lte 3.1.0(latest version)),
pdfkit@0.11.* is referenced by 76 downstream projects (e.g., @formbird/core 3.3.1 (latest version), @accordproject/ui-contract-editor 0.97.0 (latest version), ant-nodejs-kit 1.1.118 (latest version), byspectra-lib 1.4.483 (latest version), csf-pdfmake 0.1.7-0.2 (latest version)),
pdfkit@0.10.* is referenced by 29 downstream projects (e.g., alphascript-api 3.0.2 (latest version), pdf-writer 1.1.2 (latest version), pdfmake2 1.0.1 (latest version), vtuzx-core 2.0.5 (latest version), @random-guys/blobber 0.2.4 (latest version)),
If pdfkit removes the vulnerable package from the above versions, then its fixed versions can help downstream users decrease their pain.It's kind of you to update packages in these versions.
Fixing suggestions
(1)In pdfkit@0.12.*, you can kindly perform the following upgrades (not crossing their major versions):
crypto-js ^3.3.0 ➔ 3.2.1;
Note:
crypto-js@3.2.1 has fixed the vulnerability SNYK-JS-CRYPTOJS-548472
(2)In pdfkit@0.11.*, you can kindly perform the following upgrades (not crossing their major versions):
crypto-js ^3.1.9-1 ➔ 3.2.1;
Note:
crypto-js@3.2.1 has fixed the vulnerability SNYK-JS-CRYPTOJS-548472
(3)In pdfkit@0.10.*, you can kindly perform the following upgrades (not crossing their major versions):
crypto-js ^3.1.9-1 ➔ 3.2.1;
Note:
crypto-js@3.2.1 has fixed the vulnerability SNYK-JS-CRYPTOJS-548472
Thank you for your attention to this issue!
Best regards,
Paimon