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, 8 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 thiserror^1.0.21.0.37up to date
 js-sys^0.3.350.3.60up to date
 wasm-bindgen^0.2.580.2.83up to date
 web-sys^0.3.350.3.60up to date
 alsa^0.50.6.0out of date
 jack^0.7.00.10.0out of date
 libc^0.2.650.2.133up to date
 nix ⚠️^0.200.25.0out of date
 parking_lot^0.110.12.1out of date
 core-foundation-sys^0.8.20.8.3up to date
 mach^0.30.3.2up to date
 jni^0.190.19.0up to date
 ndk^0.30.7.0out of date
 ndk-glue^0.30.7.0out of date
 oboe^0.4.00.4.6up to date
 stdweb^0.1.30.4.20out of date
 coreaudio-rs^0.10.00.11.1out of date
 asio-sys^0.20.2.0up to date
 lazy_static^1.41.4.0up to date
 num-traits^0.2.60.2.15up to date
 winapi^0.30.3.9up to date

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.121.0.65up to date
 clap^2.33.33.2.22out of date
 hound^3.43.5.0up to date
 ringbuf^0.20.2.8up to 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 reqested 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.