Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps tar from 0.4.15 to 0.4.22. This update includes security fixes.

Vulnerabilities fixed

Sourced from The RustSec Advisory Database.

Links in archives can overwrite any existing file
When unpacking a tarball with the unpack_in-family of functions it's intended
that only files within the specified directory are able to be written. Tarballs
with hard links or symlinks, however, can be used to overwrite any file on the
filesystem.

Tarballs can contain multiple entries for the same file. A tarball which first
contains an entry for a hard link or symlink pointing to any file on the
filesystem will have the link created, and then afterwards if the same file is
listed in the tarball the hard link will be rewritten and any file can be
rewritten on the filesystem.

This has been fixed in https://github-redirect.dependabot.com/alexcrichton/tar-rs/pull/156 and is
published as tar 0.4.16. Thanks to Max Justicz for discovering this and
emailing about the issue!

Patched versions: >= 0.4.16
Unaffected versions: none

Commits
  • 9eae9dc Bump to 0.4.22
  • 2d911a4 Merge pull request #187 from boastful-squirrel/directory-symlinks
  • 7e56339 Refactored predicate to highlight precedence + added explanation
  • 2ae0831 Switched to buffer instead of actual tar file
  • 4c7c6e8 Added cfg unix
  • 877e9e9 Added assertions
  • f463233 Added test for symlinks pointing to dir
  • 3f2a103 Refactored append_dir_all to avoid code duplication
  • 2658cb6 Handles symlinks pointing to directories
  • f354a12 Merge pull request #186 from losynix/bump0.4.21
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will not automatically merge this PR because this dependency is pre-1.0.0.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [tar](https://github.com/alexcrichton/tar-rs) from 0.4.15 to 0.4.22. **This update includes security fixes.**
- [Release notes](https://github.com/alexcrichton/tar-rs/releases)
- [Commits](alexcrichton/tar-rs@0.4.15...0.4.22)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@codecov
Copy link

codecov bot commented Mar 15, 2019

Codecov Report

Merging #82 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #82   +/-   ##
=======================================
  Coverage   79.18%   79.18%           
=======================================
  Files          27       27           
  Lines        1086     1086           
=======================================
  Hits          860      860           
  Misses        226      226

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8860dec...8d947f3. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Mar 15, 2019

Codecov Report

Merging #82 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #82   +/-   ##
=======================================
  Coverage   79.18%   79.18%           
=======================================
  Files          27       27           
  Lines        1086     1086           
=======================================
  Hits          860      860           
  Misses        226      226

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8860dec...8d947f3. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant