RUSTSEC-2018-0013

Source
https://rustsec.org/advisories/RUSTSEC-2018-0013
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2018-0013.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2018-0013
Aliases
Published
2018-11-27T12:00:00Z
Modified
2023-11-08T04:00:13.925381Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Vec-to-vec transmutations could lead to heap overflow/corruption
Details

Affected versions of this crate switched the length and capacity arguments in the Vec::fromrawparts() constructor, which could lead to memory corruption or data leakage.

The flaw was corrected by using the constructor correctly.

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

Affected packages

crates.io / safe-transmute

Package

Name
safe-transmute
View open source insights on deps.dev
Purl
pkg:cargo/safe-transmute

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.10.1

Ecosystem specific

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

Database specific

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