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 pueue

Dependencies

(19 total, 4 outdated)

CrateRequiredLatestStatus
 clap^4.54.5.51up to date
 clap_complete^4.54.5.60up to date
 clap_complete_nushell^4.5.74.5.10up to date
 comfy-table^77.2.1up to date
 ctrlc^33.5.1up to date
 flate2^11.1.5up to date
 interim^0.20.2.1up to date
 pest^2.82.8.3up to date
 pest_derive^2.82.8.3up to date
 rcgen^0.130.14.5out of date
 shell-escape^0.10.1.5up to date
 tempfile^33.23.0up to date
 toml^0.80.9.8out of date
 procfs^0.170.18.0out of date
 libproc^0.14.100.14.11up to date
 crossterm^0.290.29.0up to date
 winapi^0.30.3.9up to date
 windows^0.61.30.62.2out of date
 windows-service^0.8.00.8.0up to date

Dev dependencies

(5 total, 2 outdated)

CrateRequiredLatestStatus
 assert_cmd^22.1.1up to date
 assert_matches^11.5.0up to date
 criterion^0.60.7.0out of date
 rstest^0.250.26.1out of date
 similar-asserts^11.7.0up to date

Crate pueue-lib

Dependencies

(9 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 byteorder^1.51.5.0up to date
 dirs^6.06.0.0up to date
 rand^0.90.9.2up to date
 rev_buf_reader^0.30.3.0up to date
 rustls-connector^0.210.22.0out of date
 serde_yaml^0.90.9.34+deprecatedup to date
 shellexpand^3.13.1.1up to date
 thiserror^22.0.17up to date
 whoami ⚠️^11.6.1maybe insecure

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 portpicker^0.10.1.1up to date
 tempfile^33.23.0up to date

Security Vulnerabilities

whoami: Stack buffer overflow with whoami on several Unix platforms

RUSTSEC-2024-0020

With versions of the whoami crate >= 0.5.3 and < 1.5.0, calling any of these functions leads to an immediate stack buffer overflow on illumos and Solaris:

  • whoami::username
  • whoami::realname
  • whoami::username_os
  • whoami::realname_os

With versions of the whoami crate >= 0.5.3 and < 1.0.1, calling any of the above functions also leads to a stack buffer overflow on these platforms:

  • Bitrig
  • DragonFlyBSD
  • FreeBSD
  • NetBSD
  • OpenBSD

This occurs because of an incorrect definition of the passwd struct on those platforms.

As a result of this issue, denial of service and data corruption have both been observed in the wild. The issue is possibly exploitable as well.

This vulnerability also affects other Unix platforms that aren't Linux or macOS.

This issue has been addressed in whoami 1.5.0.

For more information, see this GitHub issue.