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

Crate cpal

Dependencies

(21 total, 7 outdated, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 thiserror^1.0.21.0.30up to date
 js-sys^0.3.350.3.55up to date
 wasm-bindgen^0.2.580.2.78up to date
 web-sys^0.3.350.3.55up to date
 alsa^0.50.6.0out of date
 jack^0.7.00.8.4out of date
 libc^0.2.650.2.112up to date
 nix ⚠️^0.200.23.1out of date
 parking_lot^0.110.11.2up to 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.6.0out of date
 ndk-glue^0.30.6.0out of date
 oboe^0.4.00.4.5up to date
 stdweb ⚠️^0.1.30.4.20insecure
 coreaudio-rs^0.10.00.11.0out of date
 asio-sys^0.20.2.0up to date
 lazy_static^1.41.4.0up to date
 num-traits^0.2.60.2.14up to date
 winapi^0.30.3.9up to date

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.121.0.52up to date
 clap^2.33.33.0.10out of date
 hound^3.43.4.0up to date
 ringbuf^0.20.2.6up to date

Security Vulnerabilities

stdweb: stdweb is unmaintained

RUSTSEC-2020-0056

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.