chore(deps): bump tar from 0.4.45 to 0.4.46 in /src-tauri#159
chore(deps): bump tar from 0.4.45 to 0.4.46 in /src-tauri#159dependabot[bot] wants to merge 1 commit into
Conversation
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>
There was a problem hiding this comment.
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
-
Primary Update:
tarcrate upgraded from0.4.45to0.4.46insrc-tauri/Cargo.toml(line 45).
-
Transitive Updates:
- The
windows-syscrate has been updated across multiple dependencies inCargo.lockto maintain compatibility with the newtarversion. This is a routine part of dependency management and does not introduce additional security risks.
- The
Verification Steps
- Review the
tarcrate changelog: Confirm that the security fix for GHSA-3cv2-h65g-fgmm is included in version0.4.46. This has been verified in the release notes. - Check for breaking changes: The changelog and release notes indicate no breaking changes in this update, only the security fix and minor improvements.
- 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
tarcrate and other dependencies to ensure continued security and stability.
References
| regex = "1" | ||
| zip = "8.5.1" | ||
| tar = "0.4.45" | ||
| tar = "0.4.46" |
There was a problem hiding this comment.
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
Merging this PR will improve performance by 25.87%
|
| 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)
Bumps tar from 0.4.45 to 0.4.46.
Release notes
Sourced from tar's releases.
Commits
fc459c1Release 0.4.4643e05a8ci: Add crates.io trusted publishing workflowbba5666Update repo linkscd94c46docs: Document TOCTOU / concurrent-mutation threat model1b4997cbuilder: Expand docs for follow_symlinks and append_dir_allbab14ddarchive: Fix another PAX header desync (GHSA-3cv2-h65g-fgmm)2349b49Add support of absolute paths39d0311Update some links59d803eUpdate astral-tokio-tar requirement from 0.5 to 0.68296b9aci: Fix and re-enable reverse dependency testing (#444)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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
tarinsrc-taurifrom 0.4.45 to 0.4.46 to patch a PAX header desync vulnerability (GHSA-3cv2-h65g-fgmm). Improves archive extraction safety.tarto 0.4.46.windows-sys0.61.2.Written for commit 216e2dd. Summary will update on new commits.