Advisory

GHSA-mcrf-7hf9-f6q5

Also known as: RUSTSEC-2017-0006

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 21:00 UTC
Modified
2023-11-08 04:21 UTC

Affected packages and fixes

rmpv

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.2 (semver)

Fixed versions

0.4.2

Fix

  • Fixed version 0.4.2
    cargo update -p rmpv --precise 0.4.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences