CVE Vulnerabilities

CVE-2019-25009

Double Free

Published: Dec 31, 2020 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
HttpHyper*0.1.20 (excluding)
Rust-httpUbuntufocal*
Rust-httpUbuntugroovy*
Rust-httpUbuntuhirsute*
Rust-httpUbuntuimpish*
Rust-httpUbuntukinetic*
Rust-httpUbuntulunar*
Rust-httpUbuntumantic*
Rust-httpUbuntuoracular*
Rust-httpUbuntuplucky*
Rust-httpUbuntutrusty*

Potential Mitigations

References