
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (RUSTSEC-2021-0070) affects the nalgebra crate versions before 0.27.1 for Rust. The issue was discovered in 2021 and involves out-of-bounds memory access due to insufficient validation of matrix dimensions. Specifically, the vulnerability exists because the crate does not ensure that the number of elements equals the product of row count and column count (NVD).
The vulnerability stems from the VecStorage structure in nalgebra, which maintains an implicit invariant where the product of rows and columns should equal the data length. The issue arises from the derived Deserialize implementation not validating this invariant, potentially allowing attackers to break memory safety through malformed input. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating high severity across confidentiality, integrity, and availability impacts (NVD, GitHub Issue).
The vulnerability could allow attackers to perform out-of-bounds memory access, potentially leading to memory corruption, information disclosure, or program crashes. The high CVSS score indicates critical severity with potential for complete system compromise through remote exploitation (NVD).
Users should upgrade to nalgebra version 0.27.1 or later, which includes fixes for this vulnerability. The fix involves implementing proper validation of matrix dimensions during deserialization to maintain the required invariants (NVD).
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."