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 judge

Dependencies

(18 total, 7 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 mysql^24.0.026.0.0out of date
 log^0.4.170.4.27up to date
 simple_logger^4.2.05.0.0out of date
 systemd-journal-logger^2.0.02.2.1up to date
 rand^0.8.40.9.1out of date
 serde_json^1.0.1071.0.140up to date
 serde^1.0.1881.0.219up to date
 reqwest^0.110.12.15out of date
 chrono^0.4.310.4.41up to date
 whoami ⚠️^1.4.11.6.0maybe insecure
 sha256^1.4.01.6.0up to date
 termimad^0.26.10.31.3out of date
 cliclack^0.1.80.3.6out of date
 envcrypt^0.5.00.5.0up to date
 scoreboard_db^0.2.10.2.1up to date
 primes^0.3.00.4.0out of date
 prime_factorization^1.0.41.0.5up to date
 cipher-crypt^0.18.00.18.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.