GHSA-jp7f-grcv-6mjf · 深刻度: medium · エコシステム: nuget — Partial path traversal in sharpcompress
SharpCompress is a fully managed C# library to deal with many compression types and formats. Versions prior to 0.29.0 are vulnerable to partial path traversal. SharpCompress recreates a hierarchy of directories under destinationDirectory if ExtractFullPath is set to true in options. In order to prevent extraction outside the destination directory the destinationFileName path is verified to begin with fullDestinationDirectoryPath. However, prior to version 0.29.0, it is not enforced that fullDestinationDirectoryPath ends with slash. If the destinationDirectory is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one level up from the directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints the arbitrary file creation impact is limited and depends on the use case. This issue is fixed in SharpCompress version 0.29.0.
総合評価: CVE-2021-39208 は公開エクスプロイトあり(54.9/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 1.15%、63 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.36% | 1.15% | +0.79% |
| 2 | 2025-03-30 | 0.32% | 0.36% | +0.04% |
| 3 | 2025-03-29 | — | 0.32% | — |
EPSS の全履歴 (全 11 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 4.3 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
| 4.0 | 2.0 | MEDIUM |
|
8.0 | 2.9 | [email protected] |
GHSA-jp7f-grcv-6mjf · 深刻度: medium · エコシステム: nuget — Partial path traversal in sharpcompress
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| sharpcompress_project | sharpcompress | < 0.29.0 | cpe:2.3:a:sharpcompress_project:sharpcompress:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/adamhathcock/sharpcompress/pull/614 | Patch Third Party Advisory |
| https://github.com/adamhathcock/sharpcompress/releases/tag/0.29.0 | Release Notes Third Party Advisory |
| https://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-jp7f-grcv-6mjf | Exploit Third Party Advisory |