PT-2019-16426 · Rust · Http Crate

CVE-2019-25009

·

Publicado

2019-11-16

·

Atualizado

2025-09-29

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions http crate versions prior to 0.1.20
Description An issue was discovered in the http crate for Rust, where the HeaderMap::Drain API can use a raw pointer, defeating soundness. This introduced unsoundness in its public safe API, potentially causing double-free issues if the Drain struct is not properly dropped, and violating Rust's alias rule, which can lead to data races with Drain's Iterator implementation.
Recommendations For versions prior to 0.1.20, update to version 0.1.20 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the HeaderMap::Drain API until the update is applied.

Correção

Double Free

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2019-25009
GHSA-6RHX-HQXM-8P36
RUSTSEC-2019-0034

Produtos afetados

Http Crate