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 cpal

Dependencies

(21 total, 11 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 alsa^0.50.9.0out of date
 asio-sys^0.20.2.2up to date
 core-foundation-sys^0.6.20.8.6out of date
 coreaudio-rs^0.10.00.12.0out of date
 jack^0.6.50.11.4out of date
 jni^0.180.21.1out of date
 js-sys^0.3.350.3.69up to date
 lazy_static^1.41.4.0up to date
 libc^0.2.650.2.153up to date
 mach^0.30.3.2up to date
 ndk^0.30.8.0out of date
 ndk-glue^0.30.7.0out of date
 nix ⚠️^0.200.28.0out of date
 num-traits^0.2.60.2.18up to date
 oboe^0.4.00.6.1out of date
 parking_lot^0.110.12.1out of date
 stdweb^0.1.30.4.20out of date
 thiserror^1.0.21.0.58up to date
 wasm-bindgen^0.2.580.2.92up to date
 web-sys^0.3.350.3.69up to date
 winapi^0.30.3.9up to date

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.121.0.82up to date
 clap^2.33.34.5.4out of date
 hound^3.43.5.1up to date
 ringbuf^0.20.3.3out of date

Security Vulnerabilities

nix: Out-of-bounds write in nix::unistd::getgrouplist

RUSTSEC-2021-0119

On certain platforms, if a user has more than 16 groups, the nix::unistd::getgrouplist function will call the libc getgrouplist function with a length parameter greater than the size of the buffer it provides, resulting in an out-of-bounds write and memory corruption.

The libc getgrouplist function takes an in/out parameter ngroups specifying the size of the group buffer. When the buffer is too small to hold all of the requested user's group memberships, some libc implementations, including glibc and Solaris libc, will modify ngroups to indicate the actual number of groups for the user, in addition to returning an error. The version of nix::unistd::getgrouplist in nix 0.16.0 and up will resize the buffer to twice its size, but will not read or modify the ngroups variable. Thus, if the user has more than twice as many groups as the initial buffer size of 8, the next call to getgrouplist will then write past the end of the buffer.

The issue would require editing /etc/groups to exploit, which is usually only editable by the root user.