Bug 2041504 (CVE-2022-21658)
Summary: | CVE-2022-21658 rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Marian Rehak <mrehak> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | aadam, amulhern, aos-bugs, bmontgom, bodavis, cwei, dkeefe, emachado, eparis, hans, igor.raits, jburrell, jcajka, jchecahi, jistone, jokerman, jpadman, mnewsome, nstielau, rust-sig, security-response-team, sponnaga, stratis-team, TicoTimo, tstellar, vkumar |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rust 1.58.1 | Doc Type: | If docs needed, set a value |
Doc Text: |
A race condition flaw was found in Rust's std::fs::remove_dir_all function. Rust applications that use this function may be vulnerable to a race condition where an unprivileged attacker can trick the application into deleting files and directories, causing an impact on system data integrity. If the application is privileged, an attacker can possibly delete files they would not usually have access to.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-11 03:45:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2042021, 2042022, 2042023, 2042024, 2042025, 2042026, 2043030, 2043031, 2046285, 2060692, 2064964, 2064965 | ||
Bug Blocks: | 2041505, 2043032 |
Description
Marian Rehak
2022-01-17 14:29:13 UTC
Created rust tracking bugs for this issue: Affects: epel-7 [bug 2043031] Affects: fedora-all [bug 2043030] This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:1894 https://access.redhat.com/errata/RHSA-2022:1894 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2022-21658 |