An update for rust is now available for openEuler-20.03-LTS-SP1 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2024-1204 Final 1.0 1.0 2024-02-23 Initial 2024-02-23 2024-02-23 openEuler SA Tool V1.0 2024-02-23 rust security update An update for rust is now available for openEuler-20.03-LTS-SP1. Rust is a systems programming language focused on three goals:safety, speed,and concurrency.It maintains these goals without having a garbage collector, making it a useful language for a number of use cases other languages are not good at: embedding in other languages, programs with specific space and time requirements,and writing low-level code, like device drivers and operating systems. It improves on current languages targeting this space by having a number of compile-time safety checks that produce no runtime overhead,while eliminating all data races. Security Fix(es): libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_index_add` can cause heap corruption that could be leveraged for arbitrary code execution. There is an issue in the `has_dir_name` function in `src/libgit2/index.c`, which frees an entry that should not be freed. The freed entry is later used and overwritten with potentially bad actor-controlled data leading to controlled heap corruption. Depending on the application that uses libgit2, this could lead to arbitrary code execution. This issue has been patched in version 1.6.5 and 1.7.2.(CVE-2024-24577) An update for rust is now available for openEuler-20.03-LTS-SP1. openEuler Security has rated this update as having a security impact of critical. 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. Critical rust https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1204 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2024-24577 https://nvd.nist.gov/vuln/detail/CVE-2024-24577 openEuler-20.03-LTS-SP1 rls-1.51.0-7.oe1.aarch64.rpm cargo-1.51.0-7.oe1.aarch64.rpm rust-debuginfo-1.51.0-7.oe1.aarch64.rpm rust-analysis-1.51.0-7.oe1.aarch64.rpm rust-help-1.51.0-7.oe1.aarch64.rpm rustfmt-1.51.0-7.oe1.aarch64.rpm rust-1.51.0-7.oe1.aarch64.rpm rust-std-static-1.51.0-7.oe1.aarch64.rpm clippy-1.51.0-7.oe1.aarch64.rpm rust-debugsource-1.51.0-7.oe1.aarch64.rpm rust-lldb-1.51.0-7.oe1.noarch.rpm rust-gdb-1.51.0-7.oe1.noarch.rpm rust-src-1.51.0-7.oe1.noarch.rpm rust-debugger-common-1.51.0-7.oe1.noarch.rpm rust-1.51.0-7.oe1.src.rpm rls-1.51.0-7.oe1.x86_64.rpm rust-help-1.51.0-7.oe1.x86_64.rpm rust-std-static-1.51.0-7.oe1.x86_64.rpm rust-1.51.0-7.oe1.x86_64.rpm rust-debugsource-1.51.0-7.oe1.x86_64.rpm rust-analysis-1.51.0-7.oe1.x86_64.rpm clippy-1.51.0-7.oe1.x86_64.rpm cargo-1.51.0-7.oe1.x86_64.rpm rustfmt-1.51.0-7.oe1.x86_64.rpm rust-debuginfo-1.51.0-7.oe1.x86_64.rpm libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_index_add` can cause heap corruption that could be leveraged for arbitrary code execution. There is an issue in the `has_dir_name` function in `src/libgit2/index.c`, which frees an entry that should not be freed. The freed entry is later used and overwritten with potentially bad actor-controlled data leading to controlled heap corruption. Depending on the application that uses libgit2, this could lead to arbitrary code execution. This issue has been patched in version 1.6.5 and 1.7.2. 2024-02-23 CVE-2024-24577 openEuler-20.03-LTS-SP1 Critical 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H rust security update 2024-02-23 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1204