Security mailing lists by PureSourceCode

GHSA-mcrf-7hf9-f6q5

MEDIUM

Unchecked vector pre-allocation

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.

Published
21 Nov 2017
Last modified
8 Nov 2023
Weakness
CWE-400
Also known as
RUSTSEC-2017-0006
Sources
OSVJSONOSV RUSTSEC-2017-0006JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io rmpv < 0.4.2 0.4.2
OSV crates.io rmpv >= 0.0.0-0, < 0.4.2 0.4.2

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Nov 2017)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.