Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. buffoon
  4. ›
  5. CVE-2020-36512

CVE-2020-36512: Use of Uninitialized Resource in buffoon.

January 6, 2022 (updated June 13, 2023)

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.

References

  • github.com/advisories/GHSA-v938-qcc9-rwv8
  • github.com/carllerche/buffoon
  • github.com/carllerche/buffoon/issues/2
  • nvd.nist.gov/vuln/detail/CVE-2020-36512
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/buffoon/RUSTSEC-2020-0154.md
  • rustsec.org/advisories/RUSTSEC-2020-0154.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36512 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.5.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-908: Use of Uninitialized Resource

Source file

cargo/buffoon/CVE-2020-36512.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:44 +0000.