CVE-2020-36443: Use of Uninitialized Resource in libp2p-deflate
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.61972%
CWE
Published
8/25/2021
Updated
2/1/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
libp2p-deflate | rust | < 0.27.1 | 0.27.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the poll_read implementation in DeflateOutput's AsyncRead trait. The advisory explicitly states that an uninitialized buffer was passed to AsyncRead::poll_read(), which is a user-provided trait function. The fix involved ensuring buffer initialization before passing it to poll_read, confirming the vulnerability was in this specific AsyncRead implementation. The struct name (DeflateOutput) and trait method (poll_read) are directly implicated in the vulnerability description and subsequent patch information.