VULNERABILITY

Oracle Linux: CVE-2023-38497: ELSA-2023-4635: rust-toolset:ol8 security update (IMPORTANT) (Multiple Advisories)

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Oracle Linux: CVE-2023-38497: ELSA-2023-4635: rust-toolset:ol8 security update (IMPORTANT) (Multiple Advisories)

Severity
6
CVSS
(AV:L/AC:H/Au:S/C:C/I:C/A:C)
Published
08/03/2023
Created
08/28/2023
Added
08/25/2023
Modified
12/01/2024

Description

Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.72.2, bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on UNIX-like systems. If the user downloaded a crate containing files writeable by any local user, another local user could exploit this to change the source code compiled and executed by the current user. To prevent existing cached extractions from being exploitable, the Cargo binary version 0.72.2 included in Rust 1.71.1 or later will purge caches generated by older Cargo versions automatically. As a workaround, configure one's system to prevent other local users from accessing the Cargo directory, usually located in `~/.cargo`. A flaw was found in the rust-cargo package. Cargo, as bundled with the Rust compiler, did not respect the umask when extracting dependency tarballs and caching the extraction for future builds. If a dependency contained files with 0777 permissions, another local user could edit the cache of the extracted source code, potentially executing arbitrary code with the privileges of the user running Cargo during the next build.

Solution(s)

  • oracle-linux-upgrade-cargo
  • oracle-linux-upgrade-clippy
  • oracle-linux-upgrade-rust
  • oracle-linux-upgrade-rust-analysis
  • oracle-linux-upgrade-rust-analyzer
  • oracle-linux-upgrade-rust-debugger-common
  • oracle-linux-upgrade-rust-doc
  • oracle-linux-upgrade-rustfmt
  • oracle-linux-upgrade-rust-gdb
  • oracle-linux-upgrade-rust-lldb
  • oracle-linux-upgrade-rust-src
  • oracle-linux-upgrade-rust-std-static
  • oracle-linux-upgrade-rust-std-static-wasm32-unknown-unknown
  • oracle-linux-upgrade-rust-std-static-wasm32-wasi
  • oracle-linux-upgrade-rust-toolset

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;