Anolis OS update for rust-toolset:an8 module



| Updated: 2025-03-28
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-21658
CWE-ID CWE-362
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Anolis OS
Operating systems & Components / Operating system

rust-src
Operating systems & Components / Operating system package or component

rust-lldb
Operating systems & Components / Operating system package or component

rust-gdb
Operating systems & Components / Operating system package or component

rust-debugger-common
Operating systems & Components / Operating system package or component

cargo-doc
Operating systems & Components / Operating system package or component

rustfmt
Operating systems & Components / Operating system package or component

rust-toolset
Operating systems & Components / Operating system package or component

rust-std-static-wasm32-wasi
Operating systems & Components / Operating system package or component

rust-std-static-wasm32-unknown-unknown
Operating systems & Components / Operating system package or component

rust-std-static
Operating systems & Components / Operating system package or component

rust-doc
Operating systems & Components / Operating system package or component

rust-analysis
Operating systems & Components / Operating system package or component

rust
Operating systems & Components / Operating system package or component

rls
Operating systems & Components / Operating system package or component

clippy
Operating systems & Components / Operating system package or component

cargo
Operating systems & Components / Operating system package or component

Vendor OpenAnolis

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Race condition

EUVDB-ID: #VU59898

Risk: High

CVSSv4.0: 8.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]

CVE-ID: CVE-2022-21658

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to a race condition in std::fs::remove_dir_all. A remote attacker can exploit the race, escalate privileges and delete arbitrary files on the system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rust-src: before 1.58.1-1

rust-lldb: before 1.58.1-1

rust-gdb: before 1.58.1-1

rust-debugger-common: before 1.58.1-1

cargo-doc: before 1.58.1-1

rustfmt: before 1.58.1-1

rust-toolset: before 1.58.1-1

rust-std-static-wasm32-wasi: before 1.58.1-1

rust-std-static-wasm32-unknown-unknown: before 1.58.1-1

rust-std-static: before 1.58.1-1

rust-doc: before 1.58.1-1

rust-analysis: before 1.58.1-1

rust: before 1.58.1-1

rls: before 1.58.1-1

clippy: before 1.58.1-1

cargo: before 1.58.1-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0466


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###