
Cloud Vulnerability DB
A community-led vulnerabilities database
The Direct Ring Buffer library contains a vulnerability (GHSA-fp5x-7m4q-449f) discovered in October 2025, affecting versions prior to 0.2.2. The issue involves uninitialized memory exposure in the createringbuffer function, which was identified as a low severity vulnerability. The vulnerability affects the Rust package directringbuffer and was confirmed through Miri testing (GitHub Advisory, RustSec Advisory).
The vulnerability stems from the createringbuffer function's implementation, which allocates a buffer using Vec::withcapacity followed by an unsafe setlen call, resulting in a Box<[T]> containing uninitialized memory. This implementation violates Rust's validity invariants when functions like writeslices attempt to create typed slices over the uninitialized memory. The vulnerability has been assigned a CVSS v4.0 score of 2.0 (Low) with the vector string CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P and is categorized under CWE-908 (Use of Uninitialized Resource) (GitHub Advisory, [Issue Report](https://github.com/ain1084/directring_buffer/issues/1)).
The vulnerability's impact is primarily focused on system availability, with no direct impact on confidentiality or integrity. The local attack vector and low attack complexity suggest limited exposure, though the vulnerability requires no special privileges or user interaction to exploit (GitHub Advisory).
The vulnerability has been fixed in version 0.2.2 of the directringbuffer crate. The fix involves using resizewith to properly initialize the buffer with T::default() and adding a T: Default bound to ensure sound initialization. Users should upgrade to version 0.2.2 or later to resolve this issue ([Pull Request](https://github.com/ain1084/directring_buffer/pull/2), 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."