HistoryEdit

RUSTSEC-2020-0105

Update unsound DrainFilter and RString::retain

Reported
Issued
Package
abi_stable (crates.io)
Type
Vulnerability
Categories
Aliases
Details
https://github.com/rodrimati1992/abi_stable_crates/issues/44
CVSS Score
7.5 HIGH
CVSS Details
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Patched
  • >=0.9.1

Description

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.