GitHub Advisoryadvisory · crates.io

GHSA-5rrv-m36h-qwf8 Use-after-free in chttp

CRITICAL Published 2021-08-25 Modified 2023-06-13 Official page ↗
Aliases
CVE-2019-16140
Ecosystem
crates.io
Packages
chttp
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416
Reviewed
2021-08-19

Affected packages

• crates.io chttp: >= 0.1.1, < 0.1.3 → fixed in 0.1.3

Description

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. A fix was published in version 0.1.3.

Related

Alias · CVE (1)

  • CVE-2019-16140 An issue was discovered in the chttp crate before 0.1.3 for Rust. vulnerability

Weakness · CWE (1)

References