RUSTSEC-2020-0034

Source
https://rustsec.org/advisories/RUSTSEC-2020-0034
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0034.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2020-0034
Aliases
Published
2020-08-25T12:00:00Z
Modified
2024-03-15T00:05:27.030752Z
Summary
Multiple security issues including data race, buffer overflow, and uninitialized memory drop
Details

arr crate contains multiple security issues. Specifically,

  1. It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary.
  2. Index and IndexMut implementation does not check the array bound.
  3. Array::new_from_template() drops uninitialized memory.
Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / arr

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

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

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "memory-corruption",
        "thread-safety"
    ]
}