Skip to content
Fencer Vulns
high 7.5

CVE-2020-36212 json

Update unsound DrainFilter and RString::retain

published 2020-12-21 5 y ago modified 2026-06-17 4 mo ago also CVE-2020-36213 , GHSA-vq23-5h4f-vwpv , GHSA-wqxc-qrq4-w5v4 , RUSTSEC-2020-0105 , EUVD-2021-1901

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

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

Patch / fix

  • crates.io abi_stable 0.9.1
  • abi_stable_project abi_stable 0.9.1

Exploit prediction

1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0105.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
crates.io abi_stable
<0.9.1
>=0.0.0-0, <0.9.1
0.9.1

Classification

Weakness
  • CWE-172 Improper Encoding or Decoding of Data
  • CWE-672 Operation on a Resource after Expiration or Release

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.