CVE-2019-25009
Rust vulnerability analysis and mitigation

Overview

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).

Technical details

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.

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-53530HIGH8.7
  • Rust logoRust
  • ratex-parser
NoYesAug 21, 2026
CVE-2026-53531MEDIUM6.9
  • Rust logoRust
  • ratex-parser
NoYesAug 21, 2026
GHSA-mc9m-6fm9-pghcMEDIUM6.9
  • Python logoPython
  • zoo-kcl
NoYesAug 20, 2026
GHSA-jgvr-6x5w-hx5wMEDIUM6.9
  • Python logoPython
  • kcl-lib
NoYesAug 20, 2026
CVE-2026-54136MEDIUM5.1
  • Rust logoRust
  • windmill-api
NoYesAug 20, 2026

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