跳转到帖子

Amazon Linux AMI 2: CVE-2023-38497: Security patch for rust (ALAS-2023-2223)

recommended_posts

发布于
  • Members

Amazon Linux AMI 2: CVE-2023-38497: Security patch for rust (ALAS-2023-2223)

Severity
7
CVSS
(AV:L/AC:M/Au:S/C:C/I:C/A:C)
Published
08/04/2023
Created
09/08/2023
Added
09/08/2023
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)

  • amazon-linux-ami-2-upgrade-cargo
  • amazon-linux-ami-2-upgrade-clippy
  • amazon-linux-ami-2-upgrade-rust
  • amazon-linux-ami-2-upgrade-rust-analysis
  • amazon-linux-ami-2-upgrade-rust-analyzer
  • amazon-linux-ami-2-upgrade-rust-debugger-common
  • amazon-linux-ami-2-upgrade-rust-debuginfo
  • amazon-linux-ami-2-upgrade-rust-doc
  • amazon-linux-ami-2-upgrade-rust-gdb
  • amazon-linux-ami-2-upgrade-rust-src
  • amazon-linux-ami-2-upgrade-rust-std-static
  • amazon-linux-ami-2-upgrade-rust-toolset
  • amazon-linux-ami-2-upgrade-rustfmt

References

  • https://attackerkb.com/topics/cve-2023-38497
  • AL2/ALAS-2023-2223
  • CVE - 2023-38497
  • 查看数 732
  • 已创建
  • 最后回复

参与讨论

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

游客
回帖…