This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate spot-server

Dependencies

(8 total, 3 outdated, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 serde^1.01.0.228up to date
 ws ⚠️^0.8.00.9.2insecure
 image ⚠️*0.25.10maybe insecure
 serde_derive^1.0.271.0.228up to date
 bincode^1.0.03.0.0out of date
 lazy_static^1.0.01.5.0up to date
 env_logger^0.6.00.11.10out of date
 log^0.4.10.4.29up to date

Security Vulnerabilities

image: Flaw in interface may drop uninitialized instance of arbitrary types

RUSTSEC-2019-0014

Affected versions of this crate would call Vec::set_len on an uninitialized vector with user-provided type parameter, in an interface of the HDR image format decoder. They would then also call other code that could panic before initializing all instances.

This could run Drop implementations on uninitialized types, equivalent to use-after-free, and allow an attacker arbitrary code execution.

Two different fixes were applied. It is possible to conserve the interface by ensuring proper initialization before calling Vec::set_len. Drop is no longer called in case of panic, though.

Starting from version 0.22, a breaking change to the interface requires callers to pre-allocate the output buffer and pass a mutable slice instead, avoiding all unsafe code.

ws: Insufficient size checks in outgoing buffer in ws allows remote attacker to run the process out of memory

RUSTSEC-2020-0043

Affected versions of this crate did not properly check and cap the growth of the outgoing buffer.

This allows a remote attacker to take down the process by growing the buffer of their (single) connection until the process runs out of memory it can allocate and is killed.

The flaw was corrected in the parity-ws fork (>=0.10.0) by disconnecting a client when the buffer runs full.