Arbitrary file permission modification during extraction via vulnerable `tar` dependency (CVE-2026-33056) <br />
まだ誰も着手していません。
評価
調査の方向性
Cargo.toml から始め、アーカイブの展開に使用される python_distribution_extract() の固定された tar 依存関係を調べます。依存関係をバージョン 0.4.45 以降に更新し、提供された悪意のある .tar.zst の再現を実行して、/tmp/victim が 777 に変わるのではなくモード 700 のままであることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Error Description:
We discovered that PyOxidizer relies on an outdated tar crate (0.4.43) which is vulnerable to CVE-2026-33056. This vulnerability exists in tar versions < 0.4.45. When PyOxidizer extracts a Python distribution archive (e.g., via python_distribution_extract()), a maliciously crafted .tar.zst file can bypass intended extraction directory boundaries and arbitrarily modify the permissions of external directories on the host filesystem.
Reproduction Steps:
- Create an external target directory on the host system with restricted permissions:
mkdir /tmp/victim && chmod 700 /tmp/victim. - Craft a malicious
.tar.zstarchive (evil.tar.zst) that contains a directory entry pointing to../../../../tmp/victimwith0777permissions in its header. - Run
PyOxidizer(or a script callingpython_distribution_extract()) to extractevil.tar.zstinto a local destination folder. - Check the permissions of the external
/tmp/victimdirectory:stat -c "%a" /tmp/victim.
Observable Evidence / Impact:
The extraction succeeds without throwing any path-traversal or permission errors. However, the permissions of the external /tmp/victim directory are silently escalated.
project=PyOxidizer
archive=evil.tar.zst
mode_before=700
extract_ok=true
mode_after=777
Suggested Mitigation:
Please update the tar dependency in Cargo.toml to >= 0.4.45.
- 主要言語
- Rust
- スター
- 6.2k
- フォーク
- 256
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
indygreg/PyOxidizer のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
indygreg/PyOxidizer#769 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
indygreg/PyOxidizer#766 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
indygreg/PyOxidizer#764 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
indygreg/PyOxidizer#763 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
indygreg/PyOxidizer#761 · コメント 2 件 ·
indygreg/PyOxidizer の issue をすべて見る
似ている issue
-
auto:doc-drift auto:producer
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
fritzprix/libr-agent#2458 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
yantrikos/yantrik-os#1048 ·
メンテナーはふだん 1 日以内に返信
-
rust
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
vllm-project/vllm#64939 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信