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

Crate gstreamer-video


(13 total, 8 outdated, 1 insecure)

 bitflags^ to date
 futures-channel^ to date
 glib^ of date
 glib-sys^ of date
 gobject-sys^ of date
 gstreamer^ of date
 gstreamer-base^ of date
 gstreamer-base-sys^ of date
 gstreamer-sys^ of date
 gstreamer-video-sys^ of date
 lazy_static^ to date
 libc^ to date

Security Vulnerabilities

futures-util: MutexGuard::map can cause a data race in safe code


Affected versions of the crate had a Send/Sync implementation for MappedMutexGuard that only considered variance on T, while MappedMutexGuard dereferenced to U.

This could of led to data races in safe Rust code when a closure used in MutexGuard::map() returns U that is unrelated to T.

The issue was fixed by fixing Send and Sync implementations, and by adding a PhantomData<&'a mut U> marker to the MappedMutexGuard type to tell the compiler that the guard is over U too.