var-202201-1926
Vulnerability from variot
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 vulnerable a race condition enabling symlink following (CWE-363). An attacker could use this security issue to trick a privileged program into deleting files and directories the attacker couldn't otherwise access or delete. Rust 1.0.0 through Rust 1.58.0 is affected by this vulnerability with 1.58.1 containing a patch. Note that the following build targets don't have usable APIs to properly mitigate the attack, and are thus still vulnerable even with a patched toolchain: macOS before version 10.10 (Yosemite) and REDOX. We recommend everyone to update to Rust 1.58.1 as soon as possible, especially people developing programs expected to run in privileged contexts (including system daemons and setuid binaries), as those have the highest risk of being affected by this. Note that adding checks in your codebase before calling remove_dir_all will not mitigate the vulnerability, as they would also be vulnerable to race conditions like remove_dir_all itself. The existing mitigation is working as intended outside of race conditions. Rust for, Time-of-check Time-of-use (TOCTOU) There is a race condition vulnerability.Information is tampered with and service operation is interrupted (DoS) It may be in a state. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202210-09
https://security.gentoo.org/
Severity: Normal Title: Rust: Multiple Vulnerabilities Date: October 16, 2022 Bugs: #870166, #831638, #821157, #807052, #782367 ID: 202210-09
Synopsis
Multiple vulnerabilities have been discovered in Rust, the worst of which could result in denial of service.
Background
A systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.
Affected packages
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-lang/rust < 1.63.0-r1 >= 1.63.0-r1 2 dev-lang/rust-bin < 1.64.0 >= 1.64.0
Description
Multiple vulnerabilities have been discovered in Rust. Please review the CVE identifiers referenced below for details.
Impact
Please review the referenced CVE identifiers for details.
Workaround
There is no known workaround at this time.
Resolution
All Rust users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">\xdev-lang/rust-1.63.0-r1"
All Rust binary users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">\xdev-lang/rust-bin-1.64.0"
In addition, users using Portage 3.0.38 or later should ensure that packages with Rust binaries have no vulnerable code statically linked into their binaries by rebuilding the @rust-rebuild set:
# emerge --ask --oneshot --verbose @rust-rebuild
References
[ 1 ] CVE-2021-28875 https://nvd.nist.gov/vuln/detail/CVE-2021-28875 [ 2 ] CVE-2021-28876 https://nvd.nist.gov/vuln/detail/CVE-2021-28876 [ 3 ] CVE-2021-28877 https://nvd.nist.gov/vuln/detail/CVE-2021-28877 [ 4 ] CVE-2021-28878 https://nvd.nist.gov/vuln/detail/CVE-2021-28878 [ 5 ] CVE-2021-28879 https://nvd.nist.gov/vuln/detail/CVE-2021-28879 [ 6 ] CVE-2021-29922 https://nvd.nist.gov/vuln/detail/CVE-2021-29922 [ 7 ] CVE-2021-31162 https://nvd.nist.gov/vuln/detail/CVE-2021-31162 [ 8 ] CVE-2021-36317 https://nvd.nist.gov/vuln/detail/CVE-2021-36317 [ 9 ] CVE-2021-36318 https://nvd.nist.gov/vuln/detail/CVE-2021-36318 [ 10 ] CVE-2021-42574 https://nvd.nist.gov/vuln/detail/CVE-2021-42574 [ 11 ] CVE-2021-42694 https://nvd.nist.gov/vuln/detail/CVE-2021-42694 [ 12 ] CVE-2022-21658 https://nvd.nist.gov/vuln/detail/CVE-2022-21658 [ 13 ] CVE-2022-36113 https://nvd.nist.gov/vuln/detail/CVE-2022-36113 [ 14 ] CVE-2022-36114 https://nvd.nist.gov/vuln/detail/CVE-2022-36114
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
https://security.gentoo.org/glsa/202210-09
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2022 Gentoo Foundation, Inc; referenced text belongs to its owner(s).
The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5 . -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
===================================================================== Red Hat Security Advisory
Synopsis: Moderate: rust-toolset:rhel8 security, bug fix, and enhancement update Advisory ID: RHSA-2022:1894-01 Product: Red Hat Enterprise Linux Advisory URL: https://access.redhat.com/errata/RHSA-2022:1894 Issue date: 2022-05-10 CVE Names: CVE-2022-21658 =====================================================================
- Summary:
An update for the rust-toolset:rhel8 module is now available for Red Hat Enterprise Linux 8.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- Relevant releases/architectures:
Red Hat Enterprise Linux AppStream (v. 8) - aarch64, noarch, ppc64le, s390x, x86_64
- Description:
Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and required libraries.
The following packages have been upgraded to a later upstream version: rust (1.58.0). (BZ#2002883)
Security Fix(es):
- rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed (CVE-2022-21658)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.6 Release Notes linked from the References section.
- Solution:
For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
- Bugs fixed (https://bugzilla.redhat.com/):
1980080 - Enable Rust wasm32-wasi target [rhel-8.6.0] 2041504 - CVE-2022-21658 rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed
- Package List:
Red Hat Enterprise Linux AppStream (v. 8):
Source: rust-1.58.1-1.module+el8.6.0+14021+586eff1a.src.rpm rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.src.rpm
aarch64: cargo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm cargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm clippy-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm clippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rls-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm rustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
noarch: cargo-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm rust-debugger-common-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm rust-gdb-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm rust-lldb-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm rust-src-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm
ppc64le: cargo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm cargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm clippy-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm clippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rls-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm rustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
s390x: cargo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm cargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm clippy-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm clippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rls-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rust-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm rustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
x86_64: cargo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm cargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm clippy-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm clippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rls-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm rustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/
- References:
https://access.redhat.com/security/cve/CVE-2022-21658 https://access.redhat.com/security/updates/classification/#moderate https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes/
- Contact:
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/
Copyright 2022 Red Hat, Inc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQIVAwUBYnqROtzjgjWX9erEAQgkZBAAmWsVgosTaMGDpGj3gA90DdYI3IN5lBO8 tUoSTKDDatI5M1lwjSEBdDUh7nkFHAr4zSawU6tM9+d5Y/cfAVoC4bwDJleHRByz MhpBMezpVaks4KdgsDm+UQtabDAKJp3yLkDTqTp8iWrepzxJcJPiieLn95DxmKq/ TEGUovSBVOnPXQMOdOor2hxi4M3CILVPzHWHgicSu3xHHa1O81CzPszwhfBgiRP4 RkNlU29AB1m0C+SOd2ERwGU4usZt/uTOwnyLAvA763SQc8zqdIvfxvdqy4ljyEYn A/+nDZ8Evc4jMX+fpmN3i+qOPz2B1B1R1SCFPrRdg+9WUkLbtVr/KTK0xWF2MkyZ z+ggAwAPiEG7VF4kEDIdT5eeNhdqFBH58GpvKf/u/jYnxJtKw8A8+tKMHYzDrBEP OIOSaFF75aO50p/cpa8TuofWY/uE/sbEmXYp9pp0AcyrRHKY+wQUzmBB30a/1bqk znxOxZTEpgIniE/hy/zyGazsdK5+bjqk3TXPyrXtJPcCjk+e9eq1eamVRzm+Rqki /1x7PaBu1wSiQvrrQELcE6HhYW7VLfz2ANO8KWm1SH43k25uvw95YwhOK9y8chjo P9wiRBHjIxgrKTuArI6NJ/SnfMKoHy/4LTeqXU4EhEc8Na/wZOMw3UEpiS+kJYuM nFBxjty0k/4= =PIUM -----END PGP SIGNATURE----- -- RHSA-announce mailing list RHSA-announce@redhat.com https://listman.redhat.com/mailman/listinfo/rhsa-announce
Show details on source website{ "@context": { "@vocab": "https://www.variotdbs.pl/ref/VARIoTentry#", "affected_products": { "@id": "https://www.variotdbs.pl/ref/affected_products" }, "configurations": { "@id": "https://www.variotdbs.pl/ref/configurations" }, "credits": { "@id": "https://www.variotdbs.pl/ref/credits" }, "cvss": { "@id": "https://www.variotdbs.pl/ref/cvss/" }, "description": { "@id": "https://www.variotdbs.pl/ref/description/" }, "exploit_availability": { "@id": "https://www.variotdbs.pl/ref/exploit_availability/" }, "external_ids": { "@id": "https://www.variotdbs.pl/ref/external_ids/" }, "iot": { "@id": "https://www.variotdbs.pl/ref/iot/" }, "iot_taxonomy": { "@id": "https://www.variotdbs.pl/ref/iot_taxonomy/" }, "patch": { "@id": "https://www.variotdbs.pl/ref/patch/" }, "problemtype_data": { "@id": "https://www.variotdbs.pl/ref/problemtype_data/" }, "references": { "@id": "https://www.variotdbs.pl/ref/references/" }, "sources": { "@id": "https://www.variotdbs.pl/ref/sources/" }, "sources_release_date": { "@id": "https://www.variotdbs.pl/ref/sources_release_date/" }, "sources_update_date": { "@id": "https://www.variotdbs.pl/ref/sources_update_date/" }, "threat_type": { "@id": "https://www.variotdbs.pl/ref/threat_type/" }, "title": { "@id": "https://www.variotdbs.pl/ref/title/" }, "type": { "@id": "https://www.variotdbs.pl/ref/type/" } }, "@id": "https://www.variotdbs.pl/vuln/VAR-202201-1926", "affected_products": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/affected_products#", "data": { "@container": "@list" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" }, "@id": "https://www.variotdbs.pl/ref/sources" } }, "data": [ { "model": "ipados", "scope": "lt", "trust": 1.0, "vendor": "apple", "version": "15.4" }, { "model": "iphone os", "scope": "lt", "trust": 1.0, "vendor": "apple", "version": "15.4" }, { "model": "rust", "scope": "gte", "trust": 1.0, "vendor": "rust lang", "version": "1.0.0" }, { "model": "tvos", "scope": "lt", "trust": 1.0, "vendor": "apple", "version": "15.4" }, { "model": "rust", "scope": "lte", "trust": 1.0, "vendor": "rust lang", "version": "1.58.0" }, { "model": "fedora", "scope": "eq", "trust": 1.0, "vendor": "fedoraproject", "version": "34" }, { "model": "macos", "scope": "gte", "trust": 1.0, "vendor": "apple", "version": "12.0.0" }, { "model": "watchos", "scope": "lt", "trust": 1.0, "vendor": "apple", "version": "8.5" }, { "model": "macos", "scope": "lt", "trust": 1.0, "vendor": "apple", "version": "12.3" }, { "model": "fedora", "scope": "eq", "trust": 1.0, "vendor": "fedoraproject", "version": "35" }, { "model": "ipados", "scope": null, "trust": 0.8, "vendor": "\u30a2\u30c3\u30d7\u30eb", "version": null }, { "model": "watchos", "scope": null, "trust": 0.8, "vendor": "\u30a2\u30c3\u30d7\u30eb", "version": null }, { "model": "tvos", "scope": null, "trust": 0.8, "vendor": "\u30a2\u30c3\u30d7\u30eb", "version": null }, { "model": "ios", "scope": null, "trust": 0.8, "vendor": "\u30a2\u30c3\u30d7\u30eb", "version": null }, { "model": "fedora", "scope": null, "trust": 0.8, "vendor": "fedora", "version": null }, { "model": "macos", "scope": null, "trust": 0.8, "vendor": "\u30a2\u30c3\u30d7\u30eb", "version": null }, { "model": "rust", "scope": null, "trust": 0.8, "vendor": "the rust programming language", "version": null } ], "sources": [ { "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "db": "NVD", "id": "CVE-2022-21658" } ] }, "configurations": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/configurations#", "children": { "@container": "@list" }, "cpe_match": { "@container": "@list" }, "data": { "@container": "@list" }, "nodes": { "@container": "@list" } }, "data": [ { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndIncluding": "1.58.0", "versionStartIncluding": "1.0.0", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "12.3", "versionStartIncluding": "12.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "15.4", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "15.4", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "15.4", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "8.5", "vulnerable": true } ], "operator": "OR" } ] } ], "sources": [ { "db": "NVD", "id": "CVE-2022-21658" } ] }, "credits": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/credits#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "Gentoo", "sources": [ { "db": "PACKETSTORM", "id": "168756" } ], "trust": 0.1 }, "cve": "CVE-2022-21658", "cvss": { "@context": { "cvssV2": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV2#" }, "@id": "https://www.variotdbs.pl/ref/cvss/cvssV2" }, "cvssV3": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV3#" }, "@id": "https://www.variotdbs.pl/ref/cvss/cvssV3/" }, "severity": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/cvss/severity#" }, "@id": "https://www.variotdbs.pl/ref/cvss/severity" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" }, "@id": "https://www.variotdbs.pl/ref/sources" } }, "data": [ { "cvssV2": [ { "acInsufInfo": false, "accessComplexity": "MEDIUM", "accessVector": "LOCAL", "authentication": "NONE", "author": "NVD", "availabilityImpact": "PARTIAL", "baseScore": 3.3, "confidentialityImpact": "NONE", "exploitabilityScore": 3.4, "impactScore": 4.9, "integrityImpact": "PARTIAL", "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "LOW", "trust": 1.0, "userInteractionRequired": false, "vectorString": "AV:L/AC:M/Au:N/C:N/I:P/A:P", "version": "2.0" }, { "acInsufInfo": null, "accessComplexity": "Medium", "accessVector": "Local", "authentication": "None", "author": "NVD", "availabilityImpact": "Partial", "baseScore": 3.3, "confidentialityImpact": "None", "exploitabilityScore": null, "id": "CVE-2022-21658", "impactScore": null, "integrityImpact": "Partial", "obtainAllPrivilege": null, "obtainOtherPrivilege": null, "obtainUserPrivilege": null, "severity": "Low", "trust": 0.9, "userInteractionRequired": null, "vectorString": "AV:L/AC:M/Au:N/C:N/I:P/A:P", "version": "2.0" }, { "accessComplexity": "MEDIUM", "accessVector": "LOCAL", "authentication": "NONE", "author": "VULHUB", "availabilityImpact": "PARTIAL", "baseScore": 3.3, "confidentialityImpact": "NONE", "exploitabilityScore": 3.4, "id": "VHN-407271", "impactScore": 4.9, "integrityImpact": "PARTIAL", "severity": "LOW", "trust": 0.1, "vectorString": "AV:L/AC:M/AU:N/C:N/I:P/A:P", "version": "2.0" } ], "cvssV3": [ { "attackComplexity": "HIGH", "attackVector": "LOCAL", "author": "NVD", "availabilityImpact": "HIGH", "baseScore": 6.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "exploitabilityScore": 1.0, "impactScore": 5.2, "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "trust": 1.0, "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H", "version": "3.1" }, { "attackComplexity": "LOW", "attackVector": "LOCAL", "author": "security-advisories@github.com", "availabilityImpact": "HIGH", "baseScore": 7.3, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "exploitabilityScore": 2.0, "impactScore": 4.7, "integrityImpact": "LOW", "privilegesRequired": "LOW", "scope": "CHANGED", "trust": 1.0, "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H", "version": "3.1" }, { "attackComplexity": "High", "attackVector": "Local", "author": "NVD", "availabilityImpact": "High", "baseScore": 6.3, "baseSeverity": "Medium", "confidentialityImpact": "None", "exploitabilityScore": null, "id": "CVE-2022-21658", "impactScore": null, "integrityImpact": "High", "privilegesRequired": "Low", "scope": "Unchanged", "trust": 0.8, "userInteraction": "None", "vectorString": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H", "version": "3.0" } ], "severity": [ { "author": "NVD", "id": "CVE-2022-21658", "trust": 1.8, "value": "MEDIUM" }, { "author": "security-advisories@github.com", "id": "CVE-2022-21658", "trust": 1.0, "value": "HIGH" }, { "author": "CNNVD", "id": "CNNVD-202201-1812", "trust": 0.6, "value": "MEDIUM" }, { "author": "VULHUB", "id": "VHN-407271", "trust": 0.1, "value": "LOW" }, { "author": "VULMON", "id": "CVE-2022-21658", "trust": 0.1, "value": "LOW" } ] } ], "sources": [ { "db": "VULHUB", "id": "VHN-407271" }, { "db": "VULMON", "id": "CVE-2022-21658" }, { "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "db": "CNNVD", "id": "CNNVD-202201-1812" }, { "db": "NVD", "id": "CVE-2022-21658" }, { "db": "NVD", "id": "CVE-2022-21658" } ] }, "description": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/description#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "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 vulnerable a race condition enabling symlink following (CWE-363). An attacker could use this security issue to trick a privileged program into deleting files and directories the attacker couldn\u0027t otherwise access or delete. Rust 1.0.0 through Rust 1.58.0 is affected by this vulnerability with 1.58.1 containing a patch. Note that the following build targets don\u0027t have usable APIs to properly mitigate the attack, and are thus still vulnerable even with a patched toolchain: macOS before version 10.10 (Yosemite) and REDOX. We recommend everyone to update to Rust 1.58.1 as soon as possible, especially people developing programs expected to run in privileged contexts (including system daemons and setuid binaries), as those have the highest risk of being affected by this. Note that adding checks in your codebase before calling remove_dir_all will not mitigate the vulnerability, as they would also be vulnerable to race conditions like remove_dir_all itself. The existing mitigation is working as intended outside of race conditions. Rust for, Time-of-check Time-of-use (TOCTOU) There is a race condition vulnerability.Information is tampered with and service operation is interrupted (DoS) It may be in a state. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nGentoo Linux Security Advisory GLSA 202210-09\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n https://security.gentoo.org/\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n Severity: Normal\n Title: Rust: Multiple Vulnerabilities\n Date: October 16, 2022\n Bugs: #870166, #831638, #821157, #807052, #782367\n ID: 202210-09\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\nSynopsis\n=======\nMultiple vulnerabilities have been discovered in Rust, the worst of\nwhich could result in denial of service. \n\nBackground\n=========\nA systems programming language that runs blazingly fast, prevents\nsegfaults, and guarantees thread safety. \n\nAffected packages\n================\n -------------------------------------------------------------------\n Package / Vulnerable / Unaffected\n -------------------------------------------------------------------\n 1 dev-lang/rust \u003c 1.63.0-r1 \u003e= 1.63.0-r1\n 2 dev-lang/rust-bin \u003c 1.64.0 \u003e= 1.64.0\n\nDescription\n==========\nMultiple vulnerabilities have been discovered in Rust. Please review the\nCVE identifiers referenced below for details. \n\nImpact\n=====\nPlease review the referenced CVE identifiers for details. \n\nWorkaround\n=========\nThere is no known workaround at this time. \n\nResolution\n=========\nAll Rust users should upgrade to the latest version:\n\n # emerge --sync\n # emerge --ask --oneshot --verbose \"\u003e\\xdev-lang/rust-1.63.0-r1\"\n\nAll Rust binary users should upgrade to the latest version:\n\n # emerge --sync\n # emerge --ask --oneshot --verbose \"\u003e\\xdev-lang/rust-bin-1.64.0\"\n\nIn addition, users using Portage 3.0.38 or later should ensure that\npackages with Rust binaries have no vulnerable code statically linked\ninto their binaries by rebuilding the @rust-rebuild set:\n\n # emerge --ask --oneshot --verbose @rust-rebuild\n\nReferences\n=========\n[ 1 ] CVE-2021-28875\n https://nvd.nist.gov/vuln/detail/CVE-2021-28875\n[ 2 ] CVE-2021-28876\n https://nvd.nist.gov/vuln/detail/CVE-2021-28876\n[ 3 ] CVE-2021-28877\n https://nvd.nist.gov/vuln/detail/CVE-2021-28877\n[ 4 ] CVE-2021-28878\n https://nvd.nist.gov/vuln/detail/CVE-2021-28878\n[ 5 ] CVE-2021-28879\n https://nvd.nist.gov/vuln/detail/CVE-2021-28879\n[ 6 ] CVE-2021-29922\n https://nvd.nist.gov/vuln/detail/CVE-2021-29922\n[ 7 ] CVE-2021-31162\n https://nvd.nist.gov/vuln/detail/CVE-2021-31162\n[ 8 ] CVE-2021-36317\n https://nvd.nist.gov/vuln/detail/CVE-2021-36317\n[ 9 ] CVE-2021-36318\n https://nvd.nist.gov/vuln/detail/CVE-2021-36318\n[ 10 ] CVE-2021-42574\n https://nvd.nist.gov/vuln/detail/CVE-2021-42574\n[ 11 ] CVE-2021-42694\n https://nvd.nist.gov/vuln/detail/CVE-2021-42694\n[ 12 ] CVE-2022-21658\n https://nvd.nist.gov/vuln/detail/CVE-2022-21658\n[ 13 ] CVE-2022-36113\n https://nvd.nist.gov/vuln/detail/CVE-2022-36113\n[ 14 ] CVE-2022-36114\n https://nvd.nist.gov/vuln/detail/CVE-2022-36114\n\nAvailability\n===========\nThis GLSA and any updates to it are available for viewing at\nthe Gentoo Security Website:\n\n https://security.gentoo.org/glsa/202210-09\n\nConcerns?\n========\nSecurity is a primary focus of Gentoo Linux and ensuring the\nconfidentiality and security of our users\u0027 machines is of utmost\nimportance to us. Any security concerns should be addressed to\nsecurity@gentoo.org or alternatively, you may file a bug at\nhttps://bugs.gentoo.org. \n\nLicense\n======\nCopyright 2022 Gentoo Foundation, Inc; referenced text\nbelongs to its owner(s). \n\nThe contents of this document are licensed under the\nCreative Commons - Attribution / Share Alike license. \n\nhttps://creativecommons.org/licenses/by-sa/2.5\n. -----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA256\n\n=====================================================================\n Red Hat Security Advisory\n\nSynopsis: Moderate: rust-toolset:rhel8 security, bug fix, and enhancement update\nAdvisory ID: RHSA-2022:1894-01\nProduct: Red Hat Enterprise Linux\nAdvisory URL: https://access.redhat.com/errata/RHSA-2022:1894\nIssue date: 2022-05-10\nCVE Names: CVE-2022-21658 \n=====================================================================\n\n1. Summary:\n\nAn update for the rust-toolset:rhel8 module is now available for Red Hat\nEnterprise Linux 8. \n\nRed Hat Product Security has rated this update as having a security impact\nof Moderate. A Common Vulnerability Scoring System (CVSS) base score, which\ngives a detailed severity rating, is available for each vulnerability from\nthe CVE link(s) in the References section. \n\n2. Relevant releases/architectures:\n\nRed Hat Enterprise Linux AppStream (v. 8) - aarch64, noarch, ppc64le, s390x, x86_64\n\n3. Description:\n\nRust Toolset provides the Rust programming language compiler rustc, the\ncargo build tool and dependency manager, and required libraries. \n\nThe following packages have been upgraded to a later upstream version: rust\n(1.58.0). (BZ#2002883)\n\nSecurity Fix(es):\n\n* rust: Race condition in remove_dir_all leading to removal of files\noutside of the directory being removed (CVE-2022-21658)\n\nFor more details about the security issue(s), including the impact, a CVSS\nscore, acknowledgments, and other related information, refer to the CVE\npage(s) listed in the References section. \n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat\nEnterprise Linux 8.6 Release Notes linked from the References section. \n\n4. Solution:\n\nFor details on how to apply this update, which includes the changes\ndescribed in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258\n\n5. Bugs fixed (https://bugzilla.redhat.com/):\n\n1980080 - Enable Rust wasm32-wasi target [rhel-8.6.0]\n2041504 - CVE-2022-21658 rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed\n\n6. Package List:\n\nRed Hat Enterprise Linux AppStream (v. 8):\n\nSource:\nrust-1.58.1-1.module+el8.6.0+14021+586eff1a.src.rpm\nrust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.src.rpm\n\naarch64:\ncargo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\ncargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nclippy-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nclippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrls-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\nrustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm\n\nnoarch:\ncargo-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm\nrust-debugger-common-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm\nrust-gdb-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm\nrust-lldb-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm\nrust-src-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm\n\nppc64le:\ncargo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\ncargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nclippy-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nclippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrls-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\nrustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm\n\ns390x:\ncargo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\ncargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nclippy-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nclippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrls-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrust-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\nrustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm\n\nx86_64:\ncargo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\ncargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nclippy-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nclippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrls-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\nrustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm\n\nThese packages are GPG signed by Red Hat for security. Our key and\ndetails on how to verify the signature are available from\nhttps://access.redhat.com/security/team/key/\n\n7. References:\n\nhttps://access.redhat.com/security/cve/CVE-2022-21658\nhttps://access.redhat.com/security/updates/classification/#moderate\nhttps://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes/\n\n8. Contact:\n\nThe Red Hat security contact is \u003csecalert@redhat.com\u003e. More contact\ndetails at https://access.redhat.com/security/team/contact/\n\nCopyright 2022 Red Hat, Inc. \n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1\n\niQIVAwUBYnqROtzjgjWX9erEAQgkZBAAmWsVgosTaMGDpGj3gA90DdYI3IN5lBO8\ntUoSTKDDatI5M1lwjSEBdDUh7nkFHAr4zSawU6tM9+d5Y/cfAVoC4bwDJleHRByz\nMhpBMezpVaks4KdgsDm+UQtabDAKJp3yLkDTqTp8iWrepzxJcJPiieLn95DxmKq/\nTEGUovSBVOnPXQMOdOor2hxi4M3CILVPzHWHgicSu3xHHa1O81CzPszwhfBgiRP4\nRkNlU29AB1m0C+SOd2ERwGU4usZt/uTOwnyLAvA763SQc8zqdIvfxvdqy4ljyEYn\nA/+nDZ8Evc4jMX+fpmN3i+qOPz2B1B1R1SCFPrRdg+9WUkLbtVr/KTK0xWF2MkyZ\nz+ggAwAPiEG7VF4kEDIdT5eeNhdqFBH58GpvKf/u/jYnxJtKw8A8+tKMHYzDrBEP\nOIOSaFF75aO50p/cpa8TuofWY/uE/sbEmXYp9pp0AcyrRHKY+wQUzmBB30a/1bqk\nznxOxZTEpgIniE/hy/zyGazsdK5+bjqk3TXPyrXtJPcCjk+e9eq1eamVRzm+Rqki\n/1x7PaBu1wSiQvrrQELcE6HhYW7VLfz2ANO8KWm1SH43k25uvw95YwhOK9y8chjo\nP9wiRBHjIxgrKTuArI6NJ/SnfMKoHy/4LTeqXU4EhEc8Na/wZOMw3UEpiS+kJYuM\nnFBxjty0k/4=\n=PIUM\n-----END PGP SIGNATURE-----\n--\nRHSA-announce mailing list\nRHSA-announce@redhat.com\nhttps://listman.redhat.com/mailman/listinfo/rhsa-announce\n", "sources": [ { "db": "NVD", "id": "CVE-2022-21658" }, { "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "db": "VULHUB", "id": "VHN-407271" }, { "db": "VULMON", "id": "CVE-2022-21658" }, { "db": "PACKETSTORM", "id": "168756" }, { "db": "PACKETSTORM", "id": "167067" } ], "trust": 1.98 }, "external_ids": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/external_ids#", "data": { "@container": "@list" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": [ { "db": "NVD", "id": "CVE-2022-21658", "trust": 3.6 }, { "db": "PACKETSTORM", "id": "167067", "trust": 0.8 }, { "db": "PACKETSTORM", "id": "168756", "trust": 0.8 }, { "db": "JVNDB", "id": "JVNDB-2022-004144", "trust": 0.8 }, { "db": "CS-HELP", "id": "SB2022012101", "trust": 0.6 }, { "db": "CS-HELP", "id": "SB2022051149", "trust": 0.6 }, { "db": "AUSCERT", "id": "ESB-2022.0304", "trust": 0.6 }, { "db": "AUSCERT", "id": "ESB-2022.1141", "trust": 0.6 }, { "db": "CNNVD", "id": "CNNVD-202201-1812", "trust": 0.6 }, { "db": "VULHUB", "id": "VHN-407271", "trust": 0.1 }, { "db": "VULMON", "id": "CVE-2022-21658", "trust": 0.1 } ], "sources": [ { "db": "VULHUB", "id": "VHN-407271" }, { "db": "VULMON", "id": "CVE-2022-21658" }, { "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "db": "PACKETSTORM", "id": "168756" }, { "db": "PACKETSTORM", "id": "167067" }, { "db": "CNNVD", "id": "CNNVD-202201-1812" }, { "db": "NVD", "id": "CVE-2022-21658" } ] }, "id": "VAR-202201-1926", "iot": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/iot#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": true, "sources": [ { "db": "VULHUB", "id": "VHN-407271" } ], "trust": 0.01 }, "last_update_date": "2024-02-13T00:08:50.989000Z", "patch": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/patch#", "data": { "@container": "@list" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": [ { "title": "HT213186 Apple\u00a0 Security update", "trust": 0.8, "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7jkzdtbmgawifjsnwkbmpo5eakrr4bew/" }, { "title": "Rust Repair measures for the competition condition problem loophole", "trust": 0.6, "url": "http://123.124.177.30/web/xxk/bdxqbyid.tag?id=181481" }, { "title": "Red Hat: Moderate: rust-toolset:rhel8 security, bug fix, and enhancement update", "trust": 0.1, "url": "https://vulmon.com/vendoradvisory?qidtp=red_hat_security_advisories\u0026qid=rhsa-20221894 - security advisory" }, { "title": "Amazon Linux 2: ALAS2-2022-1817", "trust": 0.1, "url": "https://vulmon.com/vendoradvisory?qidtp=amazon_linux2\u0026qid=alas2-2022-1817" }, { "title": "xtask-wasm", "trust": 0.1, "url": "https://github.com/rustminded/xtask-wasm " }, { "title": "CVE-2022-21658 poc", "trust": 0.1, "url": "https://github.com/sagittarius-a/cve-2022-21658 " }, { "title": "rmall", "trust": 0.1, "url": "https://github.com/xidy-dex/rmall " }, { "title": "https://github.com/xxg1413/rust-security", "trust": 0.1, "url": "https://github.com/xxg1413/rust-security " }, { "title": "https://github.com/xxg1413/rustlang-security", "trust": 0.1, "url": "https://github.com/xxg1413/rustlang-security " }, { "title": "PoC in GitHub", "trust": 0.1, "url": "https://github.com/nomi-sec/poc-in-github " }, { "title": "PoC in GitHub", "trust": 0.1, "url": "https://github.com/soosmile/poc " }, { "title": "PoC in GitHub", "trust": 0.1, "url": "https://github.com/manas3c/cve-poc " }, { "title": "CVE-2022-XXXX", "trust": 0.1, "url": "https://github.com/alphabugx/cve-2022-23305 " }, { "title": "CVE-2022-XXXX", "trust": 0.1, "url": "https://github.com/alphabugx/cve-2022-rce " } ], "sources": [ { "db": "VULMON", "id": "CVE-2022-21658" }, { "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "db": "CNNVD", "id": "CNNVD-202201-1812" } ] }, "problemtype_data": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/problemtype_data#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": [ { "problemtype": "CWE-363", "trust": 1.1 }, { "problemtype": "CWE-367", "trust": 1.1 }, { "problemtype": "Time-of-check Time-of-use (TOCTOU) Race condition (CWE-367) [NVD evaluation ]", "trust": 0.8 } ], "sources": [ { "db": "VULHUB", "id": "VHN-407271" }, { "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "db": "NVD", "id": "CVE-2022-21658" } ] }, "references": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/references#", "data": { "@container": "@list" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": [ { "trust": 1.9, "url": "https://security.gentoo.org/glsa/202210-09" }, { "trust": 1.8, "url": "https://support.apple.com/kb/ht213182" }, { "trust": 1.8, "url": "https://support.apple.com/kb/ht213183" }, { "trust": 1.8, "url": "https://support.apple.com/kb/ht213186" }, { "trust": 1.8, "url": "https://support.apple.com/kb/ht213193" }, { "trust": 1.8, "url": "https://github.com/rust-lang/rust/security/advisories/ghsa-r9cc-f5pr-p3j2" }, { "trust": 1.8, "url": "https://blog.rust-lang.org/2022/01/20/cve-2022-21658.html" }, { "trust": 1.8, "url": "https://github.com/rust-lang/rust/pull/93110/commits/32ed6e599bb4722efefd78bbc9cd7ec4613cb946" }, { "trust": 1.8, "url": "https://github.com/rust-lang/rust/pull/93110/commits/406cc071d6cfdfdb678bf3d83d766851de95abaf" }, { "trust": 1.8, "url": "https://github.com/rust-lang/rust/pull/93110/commits/4f0ad1c92ca08da6e8dc17838070975762f59714" }, { "trust": 1.6, "url": "https://nvd.nist.gov/vuln/detail/cve-2022-21658" }, { "trust": 1.2, "url": "https://github.com/rust-lang/rust/pull/93110" }, { "trust": 1.1, "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/bk32qzlhdc2ovlpktuhnt2g3vhwhd4lx/" }, { "trust": 1.1, "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/c63nh72q7uhjm5v3ivyri7lvbggfqmsq/" }, { "trust": 1.1, "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ckgtackmkaprdpwptu26gywbelirff5n/" }, { "trust": 1.1, "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7jkzdtbmgawifjsnwkbmpo5eakrr4bew/" }, { "trust": 0.7, "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7jkzdtbmgawifjsnwkbmpo5eakrr4bew/" }, { "trust": 0.7, "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ckgtackmkaprdpwptu26gywbelirff5n/" }, { "trust": 0.7, "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/bk32qzlhdc2ovlpktuhnt2g3vhwhd4lx/" }, { "trust": 0.7, "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/c63nh72q7uhjm5v3ivyri7lvbggfqmsq/" }, { "trust": 0.7, "url": "https://access.redhat.com/security/cve/cve-2022-21658" }, { "trust": 0.6, "url": "https://packetstormsecurity.com/files/168756/gentoo-linux-security-advisory-202210-09.html" }, { "trust": 0.6, "url": "https://www.auscert.org.au/bulletins/esb-2022.1141" }, { "trust": 0.6, "url": "https://packetstormsecurity.com/files/167067/red-hat-security-advisory-2022-1894-01.html" }, { "trust": 0.6, "url": "https://vigilance.fr/vulnerability/rust-file-deleting-via-std-fs-remove-dir-all-37342" }, { "trust": 0.6, "url": "https://www.auscert.org.au/bulletins/esb-2022.0304" }, { "trust": 0.6, "url": "https://www.cybersecurity-help.cz/vdb/sb2022012101" }, { "trust": 0.6, "url": "https://www.cybersecurity-help.cz/vdb/sb2022051149" }, { "trust": 0.2, "url": "https://access.redhat.com/errata/rhsa-2022:1894" }, { "trust": 0.1, "url": "https://cwe.mitre.org/data/definitions/363.html" }, { "trust": 0.1, "url": "https://cwe.mitre.org/data/definitions/367.html" }, { "trust": 0.1, "url": "https://github.com/rustminded/xtask-wasm" }, { "trust": 0.1, "url": "https://nvd.nist.gov" }, { "trust": 0.1, "url": "https://alas.aws.amazon.com/al2/alas-2022-1817.html" }, { "trust": 0.1, "url": "https://security.gentoo.org/" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-29922" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-28877" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-28876" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-36317" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-36318" }, { "trust": 0.1, "url": "https://bugs.gentoo.org." }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2022-36113" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-28878" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-28875" }, { "trust": 0.1, "url": "https://creativecommons.org/licenses/by-sa/2.5" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-28879" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-42574" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-42694" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2022-36114" }, { "trust": 0.1, "url": "https://nvd.nist.gov/vuln/detail/cve-2021-31162" }, { "trust": 0.1, "url": "https://listman.redhat.com/mailman/listinfo/rhsa-announce" }, { "trust": 0.1, "url": "https://access.redhat.com/security/team/key/" }, { "trust": 0.1, "url": "https://access.redhat.com/articles/11258" }, { "trust": 0.1, "url": "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes/" }, { "trust": 0.1, "url": "https://access.redhat.com/security/team/contact/" }, { "trust": 0.1, "url": "https://access.redhat.com/security/updates/classification/#moderate" }, { "trust": 0.1, "url": "https://bugzilla.redhat.com/):" } ], "sources": [ { "db": "VULHUB", "id": "VHN-407271" }, { "db": "VULMON", "id": "CVE-2022-21658" }, { "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "db": "PACKETSTORM", "id": "168756" }, { "db": "PACKETSTORM", "id": "167067" }, { "db": "CNNVD", "id": "CNNVD-202201-1812" }, { "db": "NVD", "id": "CVE-2022-21658" } ] }, "sources": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#", "data": { "@container": "@list" } }, "data": [ { "db": "VULHUB", "id": "VHN-407271" }, { "db": "VULMON", "id": "CVE-2022-21658" }, { "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "db": "PACKETSTORM", "id": "168756" }, { "db": "PACKETSTORM", "id": "167067" }, { "db": "CNNVD", "id": "CNNVD-202201-1812" }, { "db": "NVD", "id": "CVE-2022-21658" } ] }, "sources_release_date": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources_release_date#", "data": { "@container": "@list" } }, "data": [ { "date": "2022-01-20T00:00:00", "db": "VULHUB", "id": "VHN-407271" }, { "date": "2022-01-20T00:00:00", "db": "VULMON", "id": "CVE-2022-21658" }, { "date": "2023-03-23T00:00:00", "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "date": "2022-10-17T15:13:47", "db": "PACKETSTORM", "id": "168756" }, { "date": "2022-05-11T16:32:58", "db": "PACKETSTORM", "id": "167067" }, { "date": "2022-01-20T00:00:00", "db": "CNNVD", "id": "CNNVD-202201-1812" }, { "date": "2022-01-20T18:15:07.703000", "db": "NVD", "id": "CVE-2022-21658" } ] }, "sources_update_date": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources_update_date#", "data": { "@container": "@list" } }, "data": [ { "date": "2022-10-19T00:00:00", "db": "VULHUB", "id": "VHN-407271" }, { "date": "2023-11-07T00:00:00", "db": "VULMON", "id": "CVE-2022-21658" }, { "date": "2023-03-23T05:19:00", "db": "JVNDB", "id": "JVNDB-2022-004144" }, { "date": "2022-10-18T00:00:00", "db": "CNNVD", "id": "CNNVD-202201-1812" }, { "date": "2023-11-07T03:43:39.327000", "db": "NVD", "id": "CVE-2022-21658" } ] }, "threat_type": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/threat_type#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "local", "sources": [ { "db": "CNNVD", "id": "CNNVD-202201-1812" } ], "trust": 0.6 }, "title": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/title#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "Rust\u00a0 In \u00a0Time-of-check\u00a0Time-of-use\u00a0(TOCTOU)\u00a0 Race condition vulnerabilities", "sources": [ { "db": "JVNDB", "id": "JVNDB-2022-004144" } ], "trust": 0.8 }, "type": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/type#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "competition condition problem", "sources": [ { "db": "CNNVD", "id": "CNNVD-202201-1812" } ], "trust": 0.6 } }
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.