{
  "schema_version": "1.4.0",
  "id": "GHSA-hv9v-7w3v-rj6f",
  "modified": "2023-06-13T16:02:49Z",
  "published": "2022-06-16T23:38:37Z",
  "aliases": [],
  "summary": "`Read` on uninitialized buffer in `fill_buf()` and `read_up_to()`",
  "details": "Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\n\nArbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.\n\nReading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.\n",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "acc_reader"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2.0.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/netvl/acc_reader/issues/1"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/netvl/acc_reader"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0155.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-16T23:38:37Z",
    "nvd_published_at": null
  }
}