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

Crate rusttype

Dependencies

(9 total, 7 outdated, 1 insecure)

CrateRequiredLatestStatus
 approx^0.30.5.1out of date
 arrayvec^0.40.7.8out of date
 crossbeam-deque ⚠️^0.60.8.8insecure
 crossbeam-utils^0.60.8.23out of date
 linked-hash-map^0.50.5.6up to date
 num_cpus^1.01.17.0up to date
 ordered-float^15.5.0out of date
 rustc-hash^12.1.3out of date
 stb_truetype^0.2.20.3.1out of date

Dev dependencies

(5 total, 3 outdated, 1 insecure)

CrateRequiredLatestStatus
 blake2^0.80.11.0out of date
 glium^0.220.36.0out of date
 image ⚠️^0.200.25.10insecure
 lazy_static^11.5.0up to date
 unicode-normalization^0.10.1.25up 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.

crossbeam-deque: Data race in crossbeam-deque

RUSTSEC-2021-0093

In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug.

Crates using Stealer::steal, Stealer::steal_batch, or Stealer::steal_batch_and_pop are affected by this issue.

Credits to @kmaork for discovering, reporting and fixing the bug.