RUSTSEC-2019-0015

Source
https://rustsec.org/advisories/RUSTSEC-2019-0015
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0015.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2019-0015
Aliases
Published
2019-05-21T12:00:00Z
Modified
2023-11-08T04:01:16.163639Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Flaw in generativity allows out-of-bounds access
Details

Affected versions of this crate did not properly implement the generativity, because the invariant lifetimes were not necessarily dropped.

This allows an attacker to mix up two arenas, using indices created from one arena with another one. This might lead to an out-of-bounds read or write access into the memory reserved for the arena.

The flaw was corrected by implementing generativity correctly in version 0.4.0.

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

Affected packages

crates.io / compact_arena

Package

Name
compact_arena
View open source insights on deps.dev
Purl
pkg:cargo/compact_arena

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.4.0

Ecosystem specific

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

Database specific

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