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 wgpu

Dependencies

(16 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 arrayvec>=0.5.0, <0.6.00.7.6out of date
 futures>=0.3.0, <0.4.00.3.31up to date
 gfx-backend-vulkan>=0.6.0, <0.7.00.9.0out of date
 js-sys>=0.3.39, <0.4.00.3.77up to date
 objc>=0.2.7, <0.3.00.2.7up to date
 parking_lot>=0.11.0, <0.12.00.12.3out of date
 raw-window-handle>=0.3.0, <0.4.00.6.2out of date
 serde>=1.0.0, <2.0.01.0.219up to date
 smallvec ⚠️>=1.0.0, <2.0.01.15.0maybe insecure
 tracing>=0.1.0, <0.2.00.1.41up to date
 typed-arena>=2.0.1, <3.0.02.0.2up to date
 wasm-bindgen>=0.2.62, <0.3.00.2.100up to date
 wasm-bindgen-futures>=0.4.12, <0.5.00.4.50up to date
 web-sys>=0.3.39, <0.4.00.3.77up to date
 wgpu-core>=0.6.0, <0.7.025.0.1out of date
 wgpu-types>=0.6.0, <0.7.025.0.0out of date

Dev dependencies

(11 total, 7 outdated)

CrateRequiredLatestStatus
 bytemuck>=1.0.0, <2.0.01.22.0up to date
 cgmath>=0.17.0, <0.18.00.18.0out of date
 console_error_panic_hook>=0.1.6, <0.2.00.1.7up to date
 console_log>=0.1.2, <0.2.01.0.0out of date
 ddsfile>=0.4.0, <0.5.00.5.2out of date
 log>=0.4.0, <0.5.00.4.27up to date
 noise>=0.6.0, <0.7.00.9.0out of date
 png>=0.16.0, <0.17.00.17.16out of date
 rand>=0.7.2, <0.8.00.9.1out of date
 wgpu-subscriber>=0.1.0, <0.2.00.1.0up to date
 winit>=0.22.1, <0.23.00.30.9out of date

Security Vulnerabilities

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.