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

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

Name Vendor Start Version End Version
Http Hyper * 0.1.20 (excluding)
Rust-http Ubuntu focal *
Rust-http Ubuntu groovy *
Rust-http Ubuntu hirsute *
Rust-http Ubuntu impish *
Rust-http Ubuntu kinetic *
Rust-http Ubuntu lunar *
Rust-http Ubuntu mantic *
Rust-http Ubuntu oracular *
Rust-http Ubuntu trusty *

Potential Mitigations

References