Skip to content

chore(deps): bump tar from 0.4.45 to 0.4.46 in /src-tauri#159

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/src-tauri/tar-0.4.46
Open

chore(deps): bump tar from 0.4.45 to 0.4.46 in /src-tauri#159
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/src-tauri/tar-0.4.46

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 29, 2026

Bumps tar from 0.4.45 to 0.4.46.

Release notes

Sourced from tar's releases.

0.4.46

Security

See also GHSA-3cv2-h65g-fgmm

Other changes

New Contributors

Full Changelog: composefs/tar-rs@0.4.45...0.4.46

Commits

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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Update tar in src-tauri from 0.4.45 to 0.4.46 to patch a PAX header desync vulnerability (GHSA-3cv2-h65g-fgmm). Improves archive extraction safety.

  • Dependencies
    • Bump tar to 0.4.46.
    • Refreshed lockfile; several transitive crates now use windows-sys 0.61.2.

Written for commit 216e2dd. Summary will update on new commits.

Review in cubic

Bumps [tar](https://github.com/composefs/tar-rs) from 0.4.45 to 0.4.46.
- [Release notes](https://github.com/composefs/tar-rs/releases)
- [Commits](composefs/tar-rs@0.4.45...0.4.46)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 0.4.46
  dependency-type: direct:production
...

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

@sovri sovri Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security Vulnerability Fix in tar Crate

Overview

This pull request upgrades the tar crate from version 0.4.45 to 0.4.46 to address a critical security vulnerability (GHSA-3cv2-h65g-fgmm). The vulnerability involves a PAX header desync issue that could lead to archive extraction vulnerabilities.

Vulnerability Details

  • CVE/GHSA ID: GHSA-3cv2-h65g-fgmm
  • CWE: CWE-444 (Inconsistent Interpretation of HTTP Requests, though in this context, it relates to inconsistent archive header parsing)
  • Severity: Critical (Blocker)
  • Impact: Maliciously crafted tar archives could exploit this vulnerability to cause unexpected behavior during extraction, potentially leading to path traversal or other security issues.

Changes Made

  1. Primary Update:

    • tar crate upgraded from 0.4.45 to 0.4.46 in src-tauri/Cargo.toml (line 45).
  2. Transitive Updates:

    • The windows-sys crate has been updated across multiple dependencies in Cargo.lock to maintain compatibility with the new tar version. This is a routine part of dependency management and does not introduce additional security risks.

Verification Steps

  1. Review the tar crate changelog: Confirm that the security fix for GHSA-3cv2-h65g-fgmm is included in version 0.4.46. This has been verified in the release notes.
  2. Check for breaking changes: The changelog and release notes indicate no breaking changes in this update, only the security fix and minor improvements.
  3. Test the application: Ensure that all functionality involving tar archive handling (e.g., extraction, creation) works as expected post-upgrade.

Recommendations

  • Merge Immediately: This update addresses a critical security vulnerability and should be merged as soon as possible to mitigate potential risks.
  • Monitor Dependencies: Keep an eye on future updates to the tar crate and other dependencies to ensure continued security and stability.

References

Comment thread src-tauri/Cargo.toml
regex = "1"
zip = "8.5.1"
tar = "0.4.45"
tar = "0.4.46"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Critical security vulnerability in tar crate (GHSA-3cv2-h65g-fgmm)

The tar crate version 0.4.45 is vulnerable to a PAX header desync issue (GHSA-3cv2-h65g-fgmm), which could lead to archive extraction vulnerabilities. The upgrade to 0.4.46 fixes this security flaw. This is a critical update that should be merged immediately to mitigate potential security risks.

🔍 Audit Reference: SOVRI-SC-045D-F89E

@codspeed-hq
Copy link
Copy Markdown
Contributor

codspeed-hq Bot commented May 29, 2026

Merging this PR will improve performance by 25.87%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 3 improved benchmarks
✅ 23 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
reject_invalid 610.3 ns 522.8 ns +16.74%
from_status_code_200 123.1 ns 93.9 ns +31.07%
from_status_code_500 125.3 ns 96.1 ns +30.35%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing dependabot/cargo/src-tauri/tar-0.4.46 (216e2dd) with main (46d16cb)

Open in CodSpeed

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.

0 participants