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.
grpcio 0.5.0-alpha.4
This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.
grpcio
(7 total, 5 outdated, 2 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
bytes | ^0.4.11 | 1.6.0 | out of date |
futures | ^0.1.15 | 0.3.30 | out of date |
grpcio-sys | ^0.5.0-alpha | 0.13.0+1.56.2-patched | out of date |
libc | ^0.2 | 0.2.153 | up to date |
log | ^0.4 | 0.4.21 | up to date |
prost ⚠️ | ^0.5 | 0.12.3 | out of date |
protobuf ⚠️ | ^2.0 | 3.4.0 | out of date |
protobuf
: Out of Memory in stream::read_raw_bytes_into()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.
prost
: Parsing a specially crafted message can result in a stack overflowAffected versions of this crate contained a bug in which decoding untrusted input could overflow the stack.
On architectures with stack probes (like x86), this can be used for denial of service attacks, while on architectures without stack probes (like ARM) overflowing the stack is unsound and can result in potential memory corruption (or even RCE).
The flaw was quickly corrected by @danburkert and released in version 0.6.1.