{
  "schema_version": "1.4.0",
  "id": "GHSA-gvcp-948f-8f2p",
  "modified": "2021-08-18T19:04:08Z",
  "published": "2021-08-25T20:59:04Z",
  "aliases": [
    "CVE-2020-36443"
  ],
  "summary": "Use of Uninitialized Resource in libp2p-deflate",
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "libp2p-deflate"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.27.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36443"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/libp2p/rust-libp2p"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0123.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-908"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-09T22:18:41Z",
    "nvd_published_at": "2021-08-08T06:15:00Z"
  }
}