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.

Crate raft-proto

Dependencies

(5 total, 4 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 bytes^0.4.111.6.0out of date
 lazy_static^1.3.01.4.0up to date
 prost ⚠️^0.50.12.4out of date
 prost-derive^0.50.12.4out of date
 protobuf ⚠️^23.4.0out of date

Security Vulnerabilities

protobuf: Out of Memory in stream::read_raw_bytes_into()

RUSTSEC-2019-0003

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 overflow

RUSTSEC-2020-0002

Affected 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.