logo

GHSA-f67m-9j94-qv9j hyper

Package

Manager: cargo
Name: hyper
Vulnerable Version: >=0 <0.14.12

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Parser creates invalid uninitialized value Affected versions of this crate called `mem::uninitialized()` in the HTTP1 parser to create values of type `httparse::Header` (from the `httparse` crate). This is unsound, since `Header` contains references and thus must be non-null. The flaw was corrected by avoiding the use of `mem::uninitialized()`, using `MaybeUninit` instead.

Metadata

Created: 2022-06-16T23:59:29Z
Modified: 2022-06-16T23:59:29Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-f67m-9j94-qv9j/GHSA-f67m-9j94-qv9j.json
CWE IDs: []
Alternative ID: N/A
Finding: F138
Auto approve: 1