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

CVE-2020-36213: 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. A retain call can create an invalid UTF-8 string, violating soundness.

References

  • github.com/advisories/GHSA-wqxc-qrq4-w5v4
  • github.com/rodrimati1992/abi_stable_crates/issues/44
  • nvd.nist.gov/vuln/detail/CVE-2020-36213
  • rustsec.org/advisories/RUSTSEC-2020-0105.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36213 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-172: Encoding Error

Source file

cargo/abi_stable/CVE-2020-36213.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:20 +0000.