{"id":"CVE-2020-36443","aliases":["CVE-2020-36443","GHSA-gvcp-948f-8f2p","RUSTSEC-2020-0123"],"related":[],"kind":"vulnerability","state":"published","title":"Use of Uninitialized Resource in libp2p-deflate","summary":"An issue was discovered in the libp2p-deflate crate before 0.27.1 for Rust. An uninitialized buffer is passed to AsyncRead::poll_read(), which is a user-provided trait function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the libp2p-deflate crate before 0.27.1 for Rust. An uninitialized buffer is passed to AsyncRead::poll_read(), which is a user-provided trait function.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate passes an uninitialized buffer to a user-provided trait function `AsyncRead::poll_read()`.\n\nArbitrary `AsyncRead::poll_read()` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.\nReading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.\n\nThe flaw was fixed in commit 5ba266a by ensuring the newly allocated part of the buffer is zero-initialized before passing it to a user-provided `AsyncRead::poll_read()`.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se ha detectado un problema en la crate libp2p-deflate versiones anteriores a 0.27.1 para Rust. Es pasado un buffer no inicializado a la función AsyncRead::poll_read(), que es una función trait proporcionada por el usuario","source":"nvd"}],"published":"2020-01-24T12:00:00.000Z","modified":"2026-06-17T03:15:30.190Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.27.1"}],"ecosystem":"crates.io","package":"libp2p-deflate","purl":"pkg:cargo/libp2p-deflate","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.27.1"}],"ecosystem":"crates.io","package":"libp2p-deflate","purl":"pkg:cargo/libp2p-deflate","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.27.1"}],"vendor":"libp2p","product":"libp2p-deflate","cpe":"cpe:2.3:a:libp2p:libp2p-deflate:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0123.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libp2p-deflate/RUSTSEC-2020-0123.md","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36443","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/libp2p/rust-libp2p","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/libp2p-deflate","tags":["package"],"sources":["rustsec"]},{"url":"https://github.com/libp2p/rust-libp2p/issues/1932","tags":["report"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36443","url":"https://www.cve.org/CVERecord?id=CVE-2020-36443","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:07.340Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gvcp-948f-8f2p","url":"https://github.com/advisories/GHSA-gvcp-948f-8f2p","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:45.145Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0123","url":"https://rustsec.org/advisories/RUSTSEC-2020-0123.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:45.145Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36443","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36443","licence":"Public domain","modified":"2026-06-17T03:15:30.190Z"}],"updatedAt":"2026-11-25T22:57:58.285Z","epss":{"score":0.0123,"percentile":0.69772,"date":"2026-12-01T12:00:22.000Z"}}