
Cloud Vulnerability DB
A community-led vulnerabilities database
An issue was discovered in the traitobject crate through 2020-06-01 for Rust. The vulnerability involves incorrect assumptions about fat pointer layouts, which could potentially cause memory corruption in Rust 2.x applications. The issue was reported on June 1, 2020, and was assigned CVE-2020-35881 with a CVSS v3.1 base score of 9.8 (CRITICAL) (RUSTSEC Advisory).
The vulnerability stems from the traitobject crate's assumption that the first element in a fat pointer is always the data pointer. While this assumption holds true in current Rust implementations, it is not guaranteed by the language specification and could change in future versions. The affected functions are traitobject::data and traitobject::data_mut. The vulnerability has been assigned a CVSS vector of 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 (RUSTSEC Advisory).
If exploited, this vulnerability could lead to memory corruption in applications using the affected crate. The high CVSS score indicates potential severe impacts on system confidentiality, integrity, and availability. The vulnerability requires no special privileges or user interaction to exploit, making it particularly dangerous (RUSTSEC Advisory).
While the issue has been fixed in the master branch of the crate, no official patched versions have been released to crates.io as of the advisory date. Users should consider reviewing their use of fat pointers in conjunction with this crate and potentially implement alternative approaches until an official patch is released (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."