CVE-2024-51756 — Vulnerability in cap-std — CVE Details
cap-std doesn't fully sandbox all the Windows device filenames
Summary
Advisory Timeline
- First published November 5, 2024 (706 days ago).
- Last revised September 10, 2026 — 673 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p cap-std --precise 3.4.1
cargo update -p cap-async-std --precise 3.4.1
cargo update -p cap-primitives --precise 3.4.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: crates.io (3).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| cap-std | crates.io | All versions | 3.4.1 |
| cap-async-std | crates.io | All versions | 3.4.1 |
| cap-primitives | crates.io | All versions | 3.4.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/bytecodealliance/cap-std/security/advisories/GHSA-hxf5-99xg-86hwWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-51756ADVISORY
- https://github.com/bytecodealliance/cap-std/pull/371WEB
- https://github.com/bytecodealliance/cap-std/commit/dcc3818039761331fbeacbb3a40c542b65b5ebf7WEB
- https://en.wikipedia.org/wiki/ISO/IEC_8859-1WEB
- https://github.com/bytecodealliance/cap-stdPACKAGE
- https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventionsWEB
- https://rustsec.org/advisories/RUSTSEC-2024-0445.htmlWEB
Frequently Asked Questions
- What is CVE-2024-51756?
- cap-std doesn't fully sandbox all the Windows device filenames This vulnerability has been assigned a severity rating of LOW (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2024-51756?
- CVE-2024-51756 affects cap-std, cap-async-std and cap-primitives. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-51756 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-54786LOW
Wasmtime has a leak in WASIp1 `fd_renumber` implementation
- CVE-2026-41677LOW
rust-opennssl has an Out-of-bounds read in PEM password callback when returning an oversized length
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies