CVE-2020-36213
mediumpriority · track · 30EPSS 0.014 · 72 %ileEUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- GHSA-vq23-5h4f-vwpvUpdate unsound DrainFilter and RString::retain2021-08-25ghsa · osvUS
An issue was discovered in the abi_stable crate before 0.9.1 for Rust. DrainFilter lacks soundness because of a double drop.
- GHSA-wqxc-qrq4-w5v4Update unsound DrainFilter and RString::retain2021-08-25ghsa · osvUS
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.
- CVE-2020-362122021-01-26vendor · osvUS
An issue was discovered in the abi_stable crate before 0.9.1 for Rust. DrainFilter lacks soundness because of a double drop.
- RUSTSEC-2020-0105Update unsound DrainFilter and RString::retain2020-12-21vendor · osvUS
Affected versions of this crate contained code from the Rust standard library that contained soundness bugs rust-lang/rust#60977 (double drop) & rust-lang/rust#78498 (create invalid utf-8 string). The flaw was corrected in v0.9.1 by making a similar fix to the one made in the Rust standard library.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://github.com/rodrimati1992/abi_stable_crates/issues/44Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-36213cnnvd
- https://rustsec.org/advisories/RUSTSEC-2020-0105.htmlcnnvd
- https://rustsec.org/advisories/RUSTSEC-2020-0105.htmlenisa_euvd
- https://rustsec.org/advisories/RUSTSEC-2020-0105.htmlVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan