Advisory

RUSTSEC-2019-0003

Also known as: CVE-2019-15544, GHSA-mh6h-f25p-98f8

Summary

Out of Memory in stream::read_raw_bytes_into()

Details

Affected versions of this crate called Vec::reserve() on user-supplied input.

This allows an attacker to cause an Out of Memory condition while calling the
vulnerable method on untrusted data.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2019-06-08 12:00 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

protobuf

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 1.7.5, introduced 2.0.0-0, fixed 2.6.0 (semver)

Fixed versions

1.7.5, 2.6.0

Fix

  • Fixed version 1.7.5
    cargo update -p protobuf --precise 1.7.5
  • Fixed version 2.6.0
    cargo update -p protobuf --precise 2.6.0

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: RustSec Advisory Database · CC0-1.0

Sources & licences