-
Notifications
You must be signed in to change notification settings - Fork 275
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
Update xlsx package because vulnerabilities #189
Comments
@mgcrea , any news? |
See SheetJS/sheetjs#2822 for discussion/information about how to update |
I followed the SheetJS/sheetjs#2822 and reinstalled the xlsx, but still got the same vulnerability tips: |
until @mgcrea fix this vulnerabilities, you can override in packaje.json to use the last xlxs module without vulnerabilities (need remove node-xlsx and reinstall again with the override version in packaje,json) |
@milpalabras, i specified the overrides in the package.json: then removed the xlsx and node-xlsx, and resintall them: Still got the same result. |
I made a fork and updated the dependency, but then two tests broke. In inspecting them, I noticed that the tests were only checking the first 10 bytes of the files, which I found a bit odd. In any case, there seems to be a discrepancy between the 5th byte of the fixture files and the output from the
|
Just published the v0.22.0 release with updated deps, should fix your issues. |
The issue still exists in v0.22.0: ➜ bodhi git:(3.5.11) ✗ npm rm node-xlsx 14 packages are looking for funding found 1 moderate severity vulnerability ╭───────────────────────────────────────────────────────────────╮ ➜ bodhi git:(3.5.11) ✗ npm rm xlsx 14 packages are looking for funding found 1 moderate severity vulnerability
14 packages are looking for funding found 2 vulnerabilities (1 moderate, 1 high) |
Hello,
Could you please update the xlsx dependency lib because the npm audit is reporting this issue:
┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Prototype Pollution in sheetJS │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ xlsx │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.19.3 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-xlsx │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-xlsx > xlsx │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ GHSA-4r6h-8v6p-xvw6 │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 1 moderate severity vulnerability in 1044 scanned packages
1 vulnerability requires manual review. See the full report for details.
Best Regards.
The text was updated successfully, but these errors were encountered: