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.test.osv.dev/v1/vulns/RUSTSEC-2020-0034
Aliases
Published
2020-08-25T12:00:00Z
Modified
2023-11-02T05:41:15.772188Z
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

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

Database specific

informational
null
cvss
null
categories
[
    "memory-corruption",
    "thread-safety"
]
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0034.json"