Vulnerability in Rust-lang Rust
CVE-2022-21658
Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. The Rust Security Response WG was notified that the `std::fs::remove_dir_all` standard library function is vul…
EPSS: 0.009 (76.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H.
Affected products
- Rust-lang Rust — versions < 1.58.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/rust-lang/rust/security/advisories/GHSA-r9cc-f5pr-p3j2
- github.com/rust-lang/rust/pull/93110
- github.com/rust-lang/rust/pull/93110/commits/32ed6e599bb4722efefd78bbc9cd7ec461…
- github.com/rust-lang/rust/pull/93110/commits/406cc071d6cfdfdb678bf3d83d766851de…
- github.com/rust-lang/rust/pull/93110/commits/4f0ad1c92ca08da6e8dc17838070975762…
- blog.rust-lang.org/2022/01/20/cve-2022-21658.html
- FEDORA-2022-1bafa3fc91 (vendor-advisory)
- FEDORA-2022-2c73789458 (vendor-advisory)
- FEDORA-2022-1b76e3a192 (vendor-advisory)
- FEDORA-2022-06569a0a60 (vendor-advisory)
Frequently asked questions
- What is CVE-2022-21658?
- CVE-2022-21658 is a high-severity vulnerability in Rust-lang Rust, classified under Race Condition Enabling Link Following. CVSS score: 7.3/10. Published 2022-01-20.
- How severe is CVE-2022-21658?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2022-21658 known to be exploited?
- 22 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.