Skip to content

Update unsound DrainFilter and RString::retain

High severity GitHub Reviewed Published Aug 25, 2021 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

cargo abi_stable (Rust)

Affected versions

< 0.9.1

Patched versions

0.9.1

Description

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

References

Published by the National Vulnerability Database Jan 26, 2021
Reviewed Jul 26, 2021
Published to the GitHub Advisory Database Aug 25, 2021
Last updated Feb 3, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2020-36212

GHSA ID

GHSA-vq23-5h4f-vwpv

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.