-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump version for crypto-js to >= 4.0.0 (security issue) #1095
Comments
I'm having this problem with my company's vulnerability scanner. Is there anything I can help to get this through? |
@c-goetz I am dealing with this issue, but we were able to side step it by regenerating the As you correctly state, this package requires By recreating the This is what we did on our side, and Snyk (the service we use to review these issues) stopped complaining about this vulnerability. |
I updated to 3.3 than realized that is same as 3.1. Upgrading to 4.0 seems straightforward. The drop of IE10 should not be a problem, but will affect also react native (which i don't know if currently works). |
@JavaZava, as @blikblum mentioned 3.3.0 is basically 3.1.9-1 and thus also vulnerable. I just reported that to Snyk, so your vulnerability scanner should also pick it up soon. |
https://app.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472 say:
Because pdfkit 0.12.1 uses crypto-js version 3.3.0 it should be safe version. Is not possible upgrade to 4.0.0, because pdfkit works in React native. In https://github.com/brix/crypto-js changelog is critical bug only in version 3.2.0 others are without vulnerable. |
Done in 0.12.3 |
Bug Report
Pdfkit depends on crypto-js with the version qualifier
"crypto-js": "^3.1.9-1",
. This version is vulnerable to brix/crypto-js#254Please bump the version to >= 4.0.0 and maybe remove the "^" from version. Crypto-js does not seem to use semantic versioning correctly.
Description of the problem
From reading the vulnerability report it may seem that updating to >= 3.2.1 is sufficient. But the fix
was later rolled back in 3.3.0 (see comment at end of brix/crypto-js#256)
Warning: this may break things on older browsers.
Thanks for your time and work on this library. Much appreciated.
Code sample
Your environment
The text was updated successfully, but these errors were encountered: