GHSA-2v78-j59h-fmpf

Suggest an improvement
Source
https://github.com/advisories/GHSA-2v78-j59h-fmpf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-2v78-j59h-fmpf/GHSA-2v78-j59h-fmpf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2v78-j59h-fmpf
Aliases
Published
2021-08-25T20:43:23Z
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
Heap overflow or corruption in safe-transmute
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-119"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:24:31Z"
}
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