RUSTSEC-2020-0105

Source
https://rustsec.org/advisories/RUSTSEC-2020-0105
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0105.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2020-0105
Aliases
Published
2020-12-21T12:00:00Z
Modified
2023-11-08T04:03:41.840994Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / abi_stable

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.9.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "informational": null,
    "categories": [
        "memory-corruption"
    ]
}