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 amethyst_renderer

Dependencies

(32 total, 19 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 amethyst_assets^0.5.00.15.3out of date
 amethyst_core^0.4.00.15.3out of date
 derivative^1.02.2.0out of date
 error-chain^0.120.12.4up to date
 fnv^1.01.0.7up to date
 genmesh^0.60.6.2up to date
 gfx^0.17.10.18.3out of date
 gfx_core^0.8.30.9.2out of date
 gfx_device_dx11^0.70.8.2out of date
 gfx_device_gl^0.150.16.2out of date
 gfx_device_metal^0.30.3.0up to date
 gfx_device_vulkan^0.10.1.0up to date
 gfx_macros^0.20.2.1up to date
 gfx_window_dxgi^0.160.19.1out of date
 gfx_window_glutin^0.26.00.31.0out of date
 gfx_window_metal^0.60.6.0up to date
 gfx_window_vulkan^0.10.1.0up to date
 glsl-layout ⚠️^0.1.10.5.0out of date
 glutin^0.180.31.3out of date
 hetseq^0.2.00.2.0up to date
 hibitset^0.5.10.6.4out of date
 image ⚠️^0.200.25.1out of date
 log^0.40.4.21up to date
 rayon^1.0.21.10.0up to date
 ron^0.40.8.1out of date
 serde^11.0.198up to date
 shred^0.70.16.0out of date
 shred-derive^0.50.7.0out of date
 smallvec ⚠️^0.61.13.2out of date
 thread_profiler^0.30.3.0up to date
 wavefront_obj^5.110.0.0out of date
 winit^0.170.29.15out 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.

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.

glsl-layout: Double drop upon panic in 'fn map_array()'

RUSTSEC-2021-0005

Affected versions of this crate did not guard against panic within the user-provided function f (2nd parameter of fn map_array), and thus panic within f causes double drop of a single object.

The flaw was corrected in the 0.4.0 release by wrapping the object vulnerable to a double drop within ManuallyDrop<T>.