Rust is a programming language. The fix for CVE-2024-24576, where `std::process::Command` incorrectly escaped arguments when invoking batch files on Windows, was incomplete. Prior to Rust version 1.81.0, it was possible to bypass the fix when the batch file name had trailing whitespace or periods (which are ignored and stripped by Windows). To determine whether to apply the `cmd.exe` escaping rules, the original fix for the vulnerability checked whether the command name ended with `.bat` or `.cmd`. At the time that seemed enough, as we refuse to invoke batch scripts with no file extension. Windows removes trailing whitespace and periods when parsing file paths. For example, `.bat. .` is interpreted by Windows as `.bat`, but the original fix didn't check for that. Affected users who are using Rust 1.77.2 or greater can remove the trailing whitespace (ASCII 0x20) and trailing periods (ASCII 0x2E) from the batch file name to bypass the incomplete fix and enable the mitigations. Users are affected if their code or one of their dependencies invoke a batch script on Windows with trailing whitespace or trailing periods in the name, and pass untrusted arguments to it. Rust 1.81.0 will update the standard library to apply the CVE-2024-24576 mitigations to all batch files invocations, regardless of the trailing chars in the file name.
総合評価: CVE-2024-43402 は中リスク(50/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.74%、50 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.51% | 0.74% | +0.23% |
| 2 | 2026-03-04 | 0.14% | 0.51% | +0.37% |
| 3 | 2026-03-01 | — | 0.14% | — |
EPSS の全履歴 (全 42 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.1 | 3.1 | HIGH |
|
1.4 | 6.0 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.0 | 6.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2024-43402: 1 source package rows (rust); 46 state rows across 6 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-community, edge-main); fixed 0, open 46. | https://security.alpinelinux.org/vuln/CVE-2024-43402 |
debian
|
unimportant | CVE-2024-43402 unimportant priority: Debian including 1 source packages (rustc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2024-43402 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2024-43402 |
ubuntu
|
medium | CVE-2024-43402 medium priority: Ubuntu including 2 source packages (cargo, rustc), 13 status rows across 7 suites (bionic, focal, jammy, noble, trusty, upstream, xenial): not-affected 11, DNE 1, needs-triage 1. | https://ubuntu.com/security/CVE-2024-43402 |
| URL | タグ |
|---|---|
| https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html | Vendor Advisory |
| https://github.com/rust-lang/rust/security/advisories/GHSA-2xg3-7mm6-98jj | Mitigation Third Party Advisory |
| https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/file-folder-name-whitespace-characters | Patch Vendor Advisory |