跳转到帖子

Gentoo Linux: CVE-2023-38497: Rust: Multiple Vulnerabilities

recommended_posts

发布于
  • Members

Gentoo Linux: CVE-2023-38497: Rust: Multiple Vulnerabilities

Severity
7
CVSS
(AV:L/AC:M/Au:S/C:C/I:C/A:C)
Published
08/04/2023
Created
09/24/2024
Added
09/23/2024
Modified
01/30/2025

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`.

Solution(s)

  • gentoo-linux-upgrade-dev-lang-rust
  • gentoo-linux-upgrade-dev-lang-rust-bin

References

  • https://attackerkb.com/topics/cve-2023-38497
  • CVE - 2023-38497
  • 202409-07
  • 查看数 702
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…