安全公告详情

NS-SA-2025-0146

2025-07-25 16:49:52

简介

important: flatpak/rust security update

严重级别

important

主题

An update for flatpak/rust is now available for NewStart CGSL MAIN 7.02.
NewStart Security has rated this update as having a security impact of important. A Common Vunlnerability Scoring System(CVSS)base score, which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.

详细描述

flatpak:
rust:


Security Fix(es):
flatpak: A flaw was found in Flatpak, a system for building, distributing, and running sandboxed desktop applications on Linux. It contains a vulnerability similar to CVE-2017-5226 but using the `TIOCLINUX` ioctl command instead of `TIOCSTI.` If a Flatpak app is run on a Linux virtual console such as `/dev/tty1`, it can copy text from the virtual console and paste it into the command buffer, from which the command might be run after the Flatpak app has exited. Ordinary graphical terminal emulators like xterm, gnome-terminal, and Konsole are unaffected. This vulnerability is specific to the Linux virtual consoles `/dev/tty1`, `/dev/tty2`, and others.(CVE-2023-28100)
flatpak: A flaw was found in Flatpak, a system for building, distributing, and running sandboxed desktop applications on Linux. Normally, the "--command" argument of "flatpak run" expects being given a command to run in the specified Flatpak app, along with optional arguments. However, it is possible to pass bwrap arguments to "--command=" instead, such as "--bind". It is possible to pass an arbitrary "commandline" to the portal interface "org.freedesktop.portal.Background.RequestBackground" within the Flatpak app. This is normally safe because it can only specify a command that exists inside the sandbox. When a crafted "commandline" is converted into a "--command" and arguments, the app could achieve the same effect of passing arguments directly to bwrap to achieve sandbox escape.(CVE-2024-32462)
flatpak: bugfix
rust: 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.(CVE-2023-38497)
rust: bugfix


Solution:
For details on how to apply this update, which includes the changes described in this advisory, refer to:
http://security.gd-linux.com/how_to_apply_patch.html
Remember the build tag is 7.02.03B8.

影响组件

  • flatpak
  • rust

影响产品

  • CGSL MAIN 7.02

更新包

{"fix":[{"product":"CGSL MAIN 7.02","pkgs":[{"binary":["flatpak-libs-1.15.8-1.zncgsl7.2.x86_64.rpm"],"source":"flatpak-1.15.8-1.zncgsl7.2.src.rpm"},{"binary":["rust-toolset-1.77.0-1.zncgsl7.5.noarch.rpm","rustfmt-1.77.0-1.zncgsl7.5.x86_64.rpm","rust-lldb-1.77.0-1.zncgsl7.5.noarch.rpm","rust-gdb-1.77.0-1.zncgsl7.5.noarch.rpm","rust-doc-1.77.0-1.zncgsl7.5.x86_64.rpm","rust-debugger-common-1.77.0-1.zncgsl7.5.noarch.rpm","rust-src-1.77.0-1.zncgsl7.5.noarch.rpm","rust-std-static-x86_64-unknown-none-1.77.0-1.zncgsl7.5.x86_64.rpm","rust-analyzer-1.77.0-1.zncgsl7.5.x86_64.rpm","rust-std-static-x86_64-unknown-uefi-1.77.0-1.zncgsl7.5.x86_64.rpm","rust-std-static-wasm32-wasi-1.77.0-1.zncgsl7.5.noarch.rpm","rust-std-static-1.77.0-1.zncgsl7.5.x86_64.rpm","rust-std-static-wasm32-unknown-unknown-1.77.0-1.zncgsl7.5.noarch.rpm","rust-1.77.0-1.zncgsl7.5.x86_64.rpm","clippy-1.77.0-1.zncgsl7.5.x86_64.rpm","cargo-1.77.0-1.zncgsl7.5.x86_64.rpm"],"source":"rust-1.77.0-1.zncgsl7.5.src.rpm"}]}]}

CVE

参考