
Cloud Vulnerability DB
A community-led vulnerabilities database
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness. The vulnerability was discovered and disclosed in late 2020, affecting the Rust HTTP implementation library (NVD, RUSTSEC).
The vulnerability stems from incorrect usage of raw pointers in the HeaderMap::Drain API implementation. This introduced unsoundness in its public safe API. The issue can lead to double-free conditions when the Drain struct is not properly dropped, and it's possible to violate Rust's alias rules, potentially causing data races with Drain's Iterator implementation (RUSTSEC). The vulnerability has been assigned a CVSS score of 9.8 (CRITICAL), indicating its severe nature.
The vulnerability can lead to memory corruption issues, including double-free conditions and potential data races. This could result in high impact on system confidentiality, integrity, and availability (RUSTSEC).
The vulnerability has a network attack vector with low complexity, requiring no privileges or user interaction. The scope is unchanged but can affect system security properties including confidentiality, integrity, and availability (RUSTSEC).
The vulnerability was fixed in version 0.1.20 of the http crate. Users should upgrade to this version or later to address the security issue (RUSTSEC).
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."