PT-2019-14536 · Rust · Http Crate

Published

2019-09-01

·

Updated

2023-11-22

·

CVE-2019-16140

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions chttp crate versions prior to 0.1.3
Description An issue was discovered in the chttp crate, where there is a use-after-free during buffer conversion. The From implementation for Vec was not properly implemented, returning a vector backed by freed memory. This could lead to memory corruption or be exploited to cause undefined behavior.
Recommendations For versions prior to 0.1.3, update to version 0.1.3 to resolve the issue. As a temporary workaround, consider avoiding the use of the From implementation for Vec until the update is applied.

Fix

Use After Free

Weakness Enumeration

Related Identifiers

CVE-2019-16140
GHSA-5RRV-M36H-QWF8
RUSTSEC-2019-0016

Affected Products

Http Crate