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

CVE-2020-36212: Update unsound DrainFilter and RString::retain

August 25, 2021 (updated June 15, 2022)

An issue was discovered in the abi_stable crate before 0.9.1 for Rust. DrainFilter lacks soundness because of a double drop.

References

  • github.com/advisories/GHSA-vq23-5h4f-vwpv
  • github.com/rodrimati1992/abi_stable_crates/issues/44
  • nvd.nist.gov/vuln/detail/CVE-2020-36212
  • rustsec.org/advisories/RUSTSEC-2020-0105.html

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.9.1

Fixed versions

  • 0.9.1

Solution

Upgrade to version 0.9.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-672: Operation on a Resource after Expiration or Release

Source file

cargo/abi_stable/CVE-2020-36212.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:06 +0000.