RUSTSEC-2017-0006

Source
https://rustsec.org/advisories/RUSTSEC-2017-0006
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2017-0006.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2017-0006
Aliases
Published
2017-11-21T12:00:00Z
Modified
2023-11-08T04:21:02.280202Z
Summary
Unchecked vector pre-allocation
Details

Affected versions of this crate pre-allocate memory on deserializing raw buffers without checking whether there is sufficient data available.

This allows an attacker to do denial-of-service attacks by sending small msgpack messages that allocate gigabytes of memory.

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

Affected packages

crates.io / rmpv

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.4.2

Ecosystem specific

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

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}