Skip to content
Fencer Intel
medium —

GHSA-mcrf-7hf9-f6q5 json

Unchecked vector pre-allocation

published 8y ago modified 3y ago also RUSTSEC-2017-0006

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io rmpv 0.4.2

Is GHSA-mcrf-7hf9-f6q5 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
crates.io rmpv
<0.4.2
>=0.0.0-0, <0.4.2
0.4.2

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.