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 imageproc

Dependencies

(9 total, 7 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 conv^0.3.10.3.3up to date
 image ⚠️^0.21.00.25.0out of date
 itertools^0.7.00.12.1out of date
 num^0.2.00.4.1out of date
 quickcheck^0.81.0.3out of date
 rand^0.6.50.8.5out of date
 rayon^1.01.10.0up to date
 rusttype^0.70.9.3out of date
 sdl2^0.320.36.0out of date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 assert_approx_eq^1.0.01.1.0up to date
 quickcheck^0.81.0.3out of 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.