GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data.
総合評価: CVE-2021-38185 は悪用リスクが高い(77.6/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 4.13%、90 パーセンタイル) 根拠: 公開エクスプロイトが 3 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-07-18 | 4.15% | 4.13% | -0.02% |
| 2 | 2026-06-15 | 26.33% | 4.15% | -22.18% |
| 3 | 2026-05-11 | — | 26.33% | — |
EPSS の全履歴 (全 28 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| 6.8 | 2.0 | MEDIUM |
|
8.6 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2021-38185: 1 source package rows (cpio); 14 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 10, open 4. | https://security.alpinelinux.org/vuln/CVE-2021-38185 |
debian
|
not yet assigned | CVE-2021-38185 not yet assigned priority: Debian including 1 source packages (cpio), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-38185 |
gentoo
|
normal | CVE-2021-38185: 1 GLSA(s) (202407-07), 1 atom(s) (app-arch/cpio); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-38185 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-38185 |
suse
|
high | CVE-2021-38185 severity important: SUSE including 351 source package names (0.1.0:cpio-2.12-3.9.1, 0.1.75:cpio-2.12-3.9.1, …), 529 product×package rows across 217 product lines (Container bci/bci-init, Container bci/dotnet-aspnet, … (217 product lines)): Fixed 387, Known Affected 142. | https://www.suse.com/security/cve/CVE-2021-38185/ |
ubuntu
|
medium | CVE-2021-38185 medium priority: Ubuntu including 1 source packages (cpio), 10 status rows across 10 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, trusty, upstream, xenial): released 10. | https://ubuntu.com/security/CVE-2021-38185 |
| URL | タグ |
|---|---|
| https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=dd96882877721703e19272fe25034560b794061b | Patch Third Party Advisory |
| https://github.com/fangqyi/cpiopwn | Exploit Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html | |
| https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00000.html | Exploit Mailing List Vendor Advisory |
| https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00002.html | Exploit Mailing List Vendor Advisory |