What’s Vulnerable › Vulnerabilities
CVE-2021-45712
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-12-26 · updated 2026-06-17
- Weakness: CWE-22
Description
An issue was discovered in the rust-embed crate before 6.3.0 for Rust. A ../ directory traversal can sometimes occur in debug mode.
Affected products
- Rust-Embed Project Rust-Embed: before 6.3.0 — fixed in 6.3.0
How to fix
Upgrade to a fixed version: Rust-Embed Project Rust-Embed 6.3.0. Check the vendor advisory for mitigations.
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rust-embed/RUSTSEC-2021-0126.md
- https://rustsec.org/advisories/RUSTSEC-2021-0126.html
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rust-embed/RUSTSEC-2021-0126.md
- https://rustsec.org/advisories/RUSTSEC-2021-0126.html
Get alerted when CVE-2021-45712 or the next vulnerability affects your stack