Out of Memory Condition Affecting rust-protobuf package, versions >0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.92% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out of Memory Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-RUSTPROTOBUF-174734
  • published17 May 2019
  • disclosed15 May 2019
  • creditSamuel E. Moelius

Introduced: 15 May 2019

CVE-2019-15544  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

There is no fixed version for rust-protobuf.

Overview

rust-protobuf is a Rust implementation of Google protocol buffers.

Affected versions of this package are vulnerable to Out of Memory Condition. The method Vec::reserve() is used on user-supplied input. However, no max allocated vec is used when reading length-delimited from an unknown input stream (`stream::read_raw_bytes_into()). This could allow an attacker to cause an Out of Memory condition while calling the vulnerable method on untrusted data.

CVSS Scores

version 3.1