
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (GHSA-22q8-ghmq-63vf) affects the libgit2-sys Rust package, which was discovered and disclosed in February 2024. This high-severity vulnerability (CVSS score 8.6) impacts versions prior to 0.16.2 of libgit2-sys and involves multiple security issues including memory corruption, denial of service, and potential arbitrary code execution in the underlying libgit2 library (GitHub Advisory, RustSec Advisory).
The vulnerability encompasses three distinct security issues in libgit2 version 1.7.2: 1) The git_revparse_single function can enter an infinite loop on crafted input, leading to Denial of Service, exposed via Repository::revparse_single method, 2) The git_index_add function may trigger heap corruption potentially leading to arbitrary code execution, exposed through the Index::add method, and 3) The smart transport negotiation can experience an out-of-bounds read when a remote server doesn't advertise capabilities. The vulnerability has a CVSS v3.1 base score of 8.6 (High) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L (RustSec Advisory).
The vulnerability can lead to multiple severe impacts including denial of service through infinite loops, potential arbitrary code execution via heap corruption, and possible information disclosure through out-of-bounds reads. The CVSS metrics indicate high impact on confidentiality and low impact on both integrity and availability (GitHub Advisory).
Users are strongly recommended to upgrade to libgit2-sys version 0.16.2 or later, which bundles the fixed version of libgit2 1.7.2. For systems using a system-provided libgit2 library, it must be version 1.7.2 or newer (RustSec Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."