ALSA-2022:1894
Vulnerability from osv_almalinux – Published: 2022-05-10 08:06 – Updated: 2022-05-10 08:06 – Source websiteRust 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 AlmaLinux Release Notes linked from the References section.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "cargo"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "cargo-doc"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "clippy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rls"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-analysis"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-debugger-common"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-doc"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-gdb"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-lldb"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-src"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-std-static"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-std-static-wasm32-unknown-unknown"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-std-static-wasm32-wasi"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rust-toolset"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "AlmaLinux:8",
"name": "rustfmt"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.58.1-1.module_el8.6.0+2748+176088b3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and required libraries. \n\nThe following packages have been upgraded to a later upstream version: rust (1.58.0). (BZ#2002883)\n\nSecurity Fix(es):\n\n* rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed (CVE-2022-21658)\n\nFor 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.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.",
"id": "ALSA-2022:1894",
"modified": "2022-05-10T08:06:43Z",
"published": "2022-05-10T08:06:44Z",
"references": [
{
"type": "ADVISORY",
"url": "https://errata.almalinux.org/8/ALSA-2022-1894.html"
},
{
"type": "REPORT",
"url": "https://vulners.com/cve/CVE-2022-21658"
}
],
"related": [
"CVE-2022-21658"
],
"summary": "Moderate: rust-toolset:rhel8 security, bug fix, and enhancement update"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.