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 topgrade

Dependencies

(22 total, 11 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.251.0.82up to date
 chrono ⚠️^0.4.60.4.38maybe insecure
 console^0.9.00.15.8out of date
 directories^2.0.15.0.1out of date
 glob^0.3.00.3.1up to date
 lazy_static^1.3.01.4.0up to date
 log^0.4.60.4.21up to date
 nix ⚠️^0.16.10.28.0out of date
 notify-rust^3.6.34.11.0out of date
 openssl-probe^0.1.20.1.5up to date
 pretty_env_logger^0.3.00.5.0out of date
 rust-ini^0.14.00.21.0out of date
 self_update^0.8.00.39.0out of date
 serde^1.0.921.0.198up to date
 shellexpand^1.0.03.1.0out of date
 structopt^0.3.00.3.26up to date
 strum^0.17.10.26.2out of date
 tempfile^3.1.03.10.1up to date
 thiserror^1.0.91.0.59up to date
 toml^0.5.10.8.12out of date
 walkdir^2.2.72.5.0up to date
 which^3.1.06.0.1out of date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

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.