An update for rust is now available for openEuler-22.03-LTS-SP3 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2024-1203 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-22.03-LTS-SP3. 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_revparse_single` can cause the function to enter an infinite loop, potentially causing a Denial of Service attack in the calling application. The revparse function in `src/libgit2/revparse.c` uses a loop to parse the user-provided spec string. There is an edge-case during parsing that allows a bad actor to force the loop conditions to access arbitrary memory. Potentially, this could also leak memory if the extracted rev spec is reflected back to the attacker. As such, libgit2 versions before 1.4.0 are not affected. Users should upgrade to version 1.6.5 or 1.7.2.(CVE-2024-24575) 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-22.03-LTS-SP3. 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-1203 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2024-24575 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2024-24577 https://nvd.nist.gov/vuln/detail/CVE-2024-24575 https://nvd.nist.gov/vuln/detail/CVE-2024-24577 openEuler-22.03-LTS-SP3 clippy-1.64.0-3.oe2203sp3.aarch64.rpm rust-std-static-1.64.0-3.oe2203sp3.aarch64.rpm cargo-1.64.0-3.oe2203sp3.aarch64.rpm rust-help-1.64.0-3.oe2203sp3.aarch64.rpm rust-debugsource-1.64.0-3.oe2203sp3.aarch64.rpm rls-1.64.0-3.oe2203sp3.aarch64.rpm rust-analysis-1.64.0-3.oe2203sp3.aarch64.rpm rustfmt-1.64.0-3.oe2203sp3.aarch64.rpm rust-debuginfo-1.64.0-3.oe2203sp3.aarch64.rpm rust-1.64.0-3.oe2203sp3.aarch64.rpm rust-analyzer-1.64.0-3.oe2203sp3.aarch64.rpm rust-src-1.64.0-3.oe2203sp3.noarch.rpm rust-gdb-1.64.0-3.oe2203sp3.noarch.rpm rust-debugger-common-1.64.0-3.oe2203sp3.noarch.rpm rust-lldb-1.64.0-3.oe2203sp3.noarch.rpm rust-1.64.0-3.oe2203sp3.src.rpm rust-debuginfo-1.64.0-3.oe2203sp3.x86_64.rpm rust-std-static-1.64.0-3.oe2203sp3.x86_64.rpm rust-analyzer-1.64.0-3.oe2203sp3.x86_64.rpm rustfmt-1.64.0-3.oe2203sp3.x86_64.rpm clippy-1.64.0-3.oe2203sp3.x86_64.rpm rust-debugsource-1.64.0-3.oe2203sp3.x86_64.rpm rls-1.64.0-3.oe2203sp3.x86_64.rpm rust-analysis-1.64.0-3.oe2203sp3.x86_64.rpm cargo-1.64.0-3.oe2203sp3.x86_64.rpm rust-help-1.64.0-3.oe2203sp3.x86_64.rpm rust-1.64.0-3.oe2203sp3.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_revparse_single` can cause the function to enter an infinite loop, potentially causing a Denial of Service attack in the calling application. The revparse function in `src/libgit2/revparse.c` uses a loop to parse the user-provided spec string. There is an edge-case during parsing that allows a bad actor to force the loop conditions to access arbitrary memory. Potentially, this could also leak memory if the extracted rev spec is reflected back to the attacker. As such, libgit2 versions before 1.4.0 are not affected. Users should upgrade to version 1.6.5 or 1.7.2. 2024-02-23 CVE-2024-24575 openEuler-22.03-LTS-SP3 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H rust security update 2024-02-23 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1203 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-22.03-LTS-SP3 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-1203