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

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.43%, higher than 73% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-21T12:00:00.000Z
- Modified: 2026-06-17T03:15:01.307Z
- Also known as: GHSA-vq23-5h4f-vwpv, GHSA-wqxc-qrq4-w5v4, RUSTSEC-2020-0105
- Related: CVE-2020-36213
- Weaknesses: CWE-172, CWE-672
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- abi_stable (crates.io): before 0.9.1; from 0.0.0-0 before 0.9.1
- abi_stable_project abi_stable: before 0.9.1

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0105.html> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36212> (advisory)
- <https://github.com/rodrimati1992/abi_stable_crates/issues/44> (report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36213> (advisory)
- <https://crates.io/crates/abi_stable> (package)

## Sources

- CVE List: [CVE-2020-36212](https://www.cve.org/CVERecord?id=CVE-2020-36212), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-vq23-5h4f-vwpv](https://github.com/advisories/GHSA-vq23-5h4f-vwpv), CC-BY-4.0, modified 2023-11-08
- GitHub Advisory Database: [GHSA-wqxc-qrq4-w5v4](https://github.com/advisories/GHSA-wqxc-qrq4-w5v4), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0105](https://rustsec.org/advisories/RUSTSEC-2020-0105.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-36212](https://nvd.nist.gov/vuln/detail/CVE-2020-36212), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36212 · Whole record: https://cve.day/CVE-2020-36212.json · Rebuilt by cve.day 2026-11-25T22:57:57.192Z
