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 email-weather

Dependencies

(48 total, 25 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.88up to date
 async-imap^0.6.00.10.4out of date
 async-native-tls^0.40.5.0out of date
 ansi-to-html^0.10.2.2out of date
 bytesize^1.12.0.1out of date
 chumsky^0.80.10.1out of date
 oauth2^4.25.0.0out of date
 axum^0.60.8.4out of date
 base64^0.130.22.1out of date
 bcrypt^0.130.17.0out of date
 mail-parser^0.80.10.2out of date
 color-eyre^0.60.6.4up to date
 chrono ⚠️^0.40.4.41maybe insecure
 chrono-tz^0.80.10.3out of date
 jsonwebtoken^8.19.3.1out of date
 tokio ⚠️^11.45.0maybe insecure
 tokio-stream^0.10.1.17up to date
 reqwest^0.11.120.12.15out of date
 uuid^1.11.16.0up to date
 urlencoding^2.12.1.3up to date
 eyre ⚠️^0.60.6.12maybe insecure
 html-builder^0.40.5.1out of date
 http-body^0.41.0.1out of date
 humantime^2.12.2.0up to date
 lettre^0.100.11.15out of date
 url^2.32.5.4up to date
 secrecy^0.80.10.3out of date
 serde_urlencoded^0.70.7.1up to date
 serde^1.01.0.219up to date
 serde_json^1.01.0.140up to date
 scraper^0.130.23.1out of date
 thiserror^1.02.0.12out of date
 tower^0.40.5.2out of date
 tower-http^0.30.6.3out of date
 tracing^0.10.1.41up to date
 tracing-appender^0.20.2.3up to date
 tracing-subscriber^0.30.3.19up to date
 tracing-error^0.20.2.1up to date
 sentry^0.290.37.0out of date
 sentry-tracing^0.290.37.0out of date
 regex^1.61.11.1up to date
 rpassword^7.07.4.0up to date
 futures^0.30.3.31up to date
 once_cell^1.151.21.3up to date
 yaque^0.60.6.6up to date
 tabled^0.100.19.0out of date
 ron^0.80.10.1out of date
 native-tls^0.20.2.14up to date

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 mockall^0.110.13.1out of date
 wiremock^0.50.6.3out of date
 insta^1.211.43.1up to date
 approx^0.50.5.1up to date

Crate open-meteo

Dependencies

(12 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 buildstructor^0.50.6.0out of date
 reqwest^0.110.12.15out of date
 serde^1.01.0.219up to date
 serde_json^1.01.0.140up to date
 serde_urlencoded^0.70.7.1up to date
 chrono ⚠️^0.40.4.41maybe insecure
 chrono-tz^0.80.10.3out of date
 thiserror^1.02.0.12out of date
 tracing^0.10.1.41up to date
 once_cell^1.161.21.3up to date
 strum^0.240.27.1out of date
 strum_macros^0.240.27.1out of date

Dev dependencies

(1 total, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^11.45.0maybe insecure

Crate open-topo-data

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 reqwest^0.110.12.15out of date
 serde^1.01.0.219up to date
 serde_json^1.01.0.140up to date
 thiserror^1.02.0.12out of date

Dev dependencies

(1 total, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^11.45.0maybe insecure

Crate admin-password-hash

Dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 bcrypt^0.130.17.0out of date
 rpassword^7.07.4.0up to 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

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions::reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);

eyre: Parts of Report are dropped as the wrong type during downcast

RUSTSEC-2024-0021

In affected versions, after a Report is constructed using wrap_err or wrap_err_with to attach a message of type D onto an error of type E, then using downcast to recover ownership of either the value of type D or the value of type E, one of two things can go wrong:

  • If downcasting to E, there remains a value of type D to be dropped. It is incorrectly "dropped" by running E's drop behavior, rather than D's. For example if D is &str and E is std::io::Error, there would be a call of std::io::Error::drop in which the reference received by the Drop impl does not refer to a valid value of type std::io::Error, but instead to &str.

  • If downcasting to D, there remains a value of type E to be dropped. When D and E do not happen to be the same size, E's drop behavior is incorrectly executed in the wrong location. The reference received by the Drop impl may point left or right of the real E value that is meant to be getting dropped.

In both cases, when the Report contains an error E that has nontrivial drop behavior, the most likely outcome is memory corruption.

When the Report contains an error E that has trivial drop behavior (for example a Utf8Error) but where D has nontrivial drop behavior (such as String), the most likely outcome is that downcasting to E would leak D.