-
Notifications
You must be signed in to change notification settings - Fork 915
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
[CVE-2022-48285][1.x] Bump jszip from 3.7.1 to 3.10.1 #3740
Conversation
Codecov Report
@@ Coverage Diff @@
## 1.x #3740 +/- ##
=======================================
Coverage 67.50% 67.50%
=======================================
Files 3044 3044
Lines 58692 58692
Branches 8902 8902
=======================================
Hits 39619 39619
Misses 16925 16925
Partials 2148 2148
Flags with carried forward coverage won't be shown. Click here to find out more. |
@ananzh Marking as draft until you have time to revisit Miki's comments. |
loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive. This CVE requires to bump jszip to 3.8.0+. Signed-off-by: Anan Zhuang <[email protected]>
remove yarn.lock entry, clean and bootstrap Signed-off-by: Josh Romero <[email protected]>
80adea4
to
7dcd12b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* [CVE-2022-48285][1.x] Bump jszip from 3.7.1 to 3.10.1 loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive. This CVE requires to bump jszip to 3.8.0+. Signed-off-by: Anan Zhuang <[email protected]> * remove unecessary resolution remove yarn.lock entry, clean and bootstrap Signed-off-by: Josh Romero <[email protected]> --------- Signed-off-by: Anan Zhuang <[email protected]> Signed-off-by: Josh Romero <[email protected]> Co-authored-by: Josh Romero <[email protected]> Co-authored-by: Sean Neumann <[email protected]> (cherry picked from commit 364832d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
* [CVE-2022-48285][1.x] Bump jszip from 3.7.1 to 3.10.1 loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive. This CVE requires to bump jszip to 3.8.0+. Signed-off-by: Anan Zhuang <[email protected]> * remove unecessary resolution remove yarn.lock entry, clean and bootstrap Signed-off-by: Josh Romero <[email protected]> --------- Signed-off-by: Anan Zhuang <[email protected]> Signed-off-by: Josh Romero <[email protected]> Co-authored-by: Josh Romero <[email protected]> Co-authored-by: Sean Neumann <[email protected]> (cherry picked from commit 364832d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This CVE is caught in github. It is about that
loadAsync
injszip
before 3.8.0 allows Directory Traversal via a crafted ZIP archive.jszip
is a dependency ofselenium-webdriver
. This CVE requires to bumpjszip
to 3.8.0+. In 1.x, we are currently using[email protected]
.selenium-webdriver
doesn’t actively upgradejszip
in package.json, which is still"^3.7.1"
and from 4.7.0 they actually start to use3.10.1
(package-lock). Since we are gradually remove all selenium tests. I think it is a bit waste of time to investigate the changes between "[email protected]" and 4.7.0.Since there is no breaking changes between 3.7.1 and 3.8.0 on
jszip
, We could just make a simple resolution.Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr