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 blit

Dependencies

(8 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 aseprite^0.10.1.3up to date
 bincode^1.01.3.3up to date
 image ⚠️^0.200.25.1out of date
 num-traits^0.20.2.18up to date
 quick-error^1.22.0.1out of date
 rayon^1.01.10.0up to date
 serde^1.01.0.198up to date
 serde_derive^1.01.0.198up to date

Dev dependencies

(3 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 image ⚠️^0.200.25.1out of date
 minifb^0.110.25.0out of date
 serde_json^1.01.0.116up 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.