Advisory

RUSTSEC-2020-0105

Also known as: CVE-2020-36212, CVE-2020-36213, GHSA-vq23-5h4f-vwpv, GHSA-wqxc-qrq4-w5v4

Summary

Update unsound DrainFilter and RString::retain

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-12-21 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

abi_stable

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.9.1 (semver)

Fixed versions

0.9.1

Fix

  • Fixed version 0.9.1
    cargo update -p abi_stable --precise 0.9.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences