🚨 [security] Update rubyzip: 1.2.1 → 1.2.2 (patch)
**Welcome to Depfu** 👋
This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.
After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.
[Let us know](mailto:hi@depfu.com) if you have any questions. Thanks so much for giving Depfu a try!
Advisory: CVE-2018-1000544 Disclosed: June 14, 2018 URL: https://github.com/rubyzip/rubyzip/issues/369
Directory Traversal in rubyzip
rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability
in Zip::File component that can result in write arbitrary files to the filesystem.
If a site allows uploading of .zip files, an attacker can upload a malicious file
which contains symlinks or files with absolute pathnames "../" to write arbitrary
files to the filesystem.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
↗ ️ rubyzip (indirect, 1.2.1 → 1.2.2) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 54 commits:
Merge pull request #376 from jdleesmiller/fix-cve-2018-1000544Bump version to 1.2.2Bump version to 1.3.0Bump version to 2.0.0Expand from root rather than current working directoryDisable symlinks and check for path traversalConsolidate path traversal testsAdd jwilk's path traversal testsTrigger CI againMove jruby to allow failures matrix till crc uint 32 issues are resolvedFix CVE-2018-1000544 symlink path traversalFix CVE-2018-1000544 absolute path traversalFix jruby versionMerge pull request #363 from hainesr/fix-dir-globWhen globbing in ZipFSDir, take CWD into account.Pass glob through from ZipFileNameMapper.Merge pull request #361 from hainesr/quiet-testsMerge pull request #358 from idoru/handle-gpbit-3Turn off all terminal output in all tests.Handle stored files with general purpose bit 3 setMerge pull request #353 from pnomolos/pnomolos/fix_stringioMerge pull request #352 from tricknotes/bump-ruby-versionsMerge pull request #355 from pnomolos/pnomolos/fix-rubocop-breakageFix regression caused by Rubocop cleanupAdded fix for calling 'close' on a StringIO-backed zip file, and specsBump Ruby versions on Travis CIMerge pull request #350 from olleolleolle/patch-1Travis: TypoTravis: Workaround a rbx-3 autoload issueMerge pull request #345 from olleolleolle/patch-1Merge pull request #346 from olleolleolle/patch-2Merge branch 'master' into patch-2Merge pull request #347 from swamp09/ci_againstCI against Ruby 2.2.8, 2.3.5, and 2.4.2Travis: typoTravis: Try using rbx-3Travis: update RubyGemsTravis: drop oraclejdk-7Travis: use JRUBY_OPTS="--debug"Travis: use pre-installed Travis rubiesREADME: Use a blockquote to make text readableMerge pull request #325 from aeroastro/feature/tempfile-directoryMerge pull request #326 from aeroastro/feature/readme-improvementMerge pull request #340 from alsor/force-entry-names-encoding-optionMerge branch 'master' into force-entry-names-encoding-optionadd option to force entry names encodingMake naming on README more consistentMerge pull request #321 from gaurish/patch-1Merge pull request #332 from aeroastro/feature/rubocop-updateApply automatic correction by rubocopDisable Style/MutableConstant because existent code relies on itAdd rubocop dependency and correct settingsSave temporary files to a temporary directoryFile.join() is our friend for joining paths
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)