GHSA-j4xf-2g29-59ph · 深刻度: medium · エコシステム: rust — tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.
総合評価: CVE-2026-33056 は公開エクスプロイトあり(50/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.38%、29 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.38% | +0.36% |
| 2 | 2026-03-21 | 0.06% | 0.02% | -0.04% |
| 3 | 2026-03-20 | — | 0.06% | — |
EPSS の全履歴 (全 3 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.1 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
GHSA-j4xf-2g29-59ph · 深刻度: medium · エコシステム: rust — tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-33056: 1 source package rows (rust); 5 state rows across 5 repos (3.20-main, 3.21-main, 3.22-main, 3.23-main, edge-main); fixed 5, open 0. | https://security.alpinelinux.org/vuln/CVE-2026-33056 |
debian
|
not yet assigned | CVE-2026-33056 not yet assigned priority: Debian including 2 source packages (rust-tar, rustc), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 6, resolved 4. | https://security-tracker.debian.org/tracker/CVE-2026-33056 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-33056 |
ubuntu
|
medium | CVE-2026-33056 medium priority: Ubuntu including 23 source packages (cargo, rust-astral-tokio-tar, …), 105 status rows across 8 suites (bionic, focal, jammy, noble, questing, trusty, upstream, xenial): needs-triage 40, released 35, DNE 30. | https://ubuntu.com/security/CVE-2026-33056 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| tar_project | tar | < 0.4.45 | cpe:2.3:a:tar_project:tar:*:*:*:*:*:rust:*:* |
| URL | タグ |
|---|---|
| https://github.com/alexcrichton/tar-rs/commit/17b1fd84e632071cb8eef9d3709bf347bd266446 | Patch |
| https://github.com/alexcrichton/tar-rs/security/advisories/GHSA-j4xf-2g29-59ph | Exploit Mitigation Vendor Advisory |