CVE-2020-35876
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the rio crate through 2020-05-11 for Rust. A struct can be leaked, allowing attackers to obtain sensitive information when a rio::Completion is leaked, as its drop code will not run. The drop code is responsible for waiting until the kernel completes the I/O operation into, or out of, the buffer borrowed by rio::Completion (RustSec).

Technical details

The vulnerability occurs when a rio::Completion struct is leaked, preventing its drop code from executing. The drop code is critical as it waits for kernel I/O operations to complete on the borrowed buffer. Without proper execution of the drop code, the buffer can be accessed or dropped prematurely. This has a CVSS score of 9.8 (Critical), with attack vector being Network, low attack complexity, and no privileges or user interaction required (RustSec).

Impact

The vulnerability can lead to use-after-free conditions, data races, or the leaking of sensitive information. The impact is rated as High for Confidentiality, Integrity, and Availability according to the CVSS metrics (RustSec).

Mitigation and workarounds

No patched versions are available as the upstream maintainers are not interested in fixing the issue. Users should consider alternative solutions or implement their own safeguards against buffer leaks (RustSec).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management