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 opcua

Dependencies

(28 total, 6 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 actix-files^0.60.6.6up to date
 actix-web^4.44.11.0up to date
 base64^0.210.22.1out of date
 bitflags^2.42.9.1up to date
 byteorder^1.41.5.0up to date
 bytes^1.31.10.1up to date
 chrono ⚠️^0.40.4.41maybe insecure
 derivative^2.22.2.0up to date
 env_logger^0.100.11.8out of date
 foreign-types^0.30.5.0out of date
 futures^0.30.3.31up to date
 gethostname^0.41.0.2out of date
 lazy_static^1.4.01.5.0up to date
 libc^0.20.2.174up to date
 log^0.40.4.27up to date
 openssl ⚠️^0.100.10.73maybe insecure
 openssl-sys^0.90.9.109up to date
 parking_lot^0.120.12.4up to date
 regex^1.71.11.1up to date
 rumqttc^0.230.24.0out of date
 serde^1.01.0.219up to date
 serde_derive^1.01.0.219up to date
 serde_json^1.01.0.140up to date
 serde_yaml^0.90.9.34+deprecatedup to date
 tokio ⚠️^11.45.1maybe insecure
 tokio-util^0.70.7.15up to date
 url^1.62.5.4out of date
 uuid^1.21.17.0up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.140up to date
 tempdir^0.30.3.7up 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);

openssl: Use-After-Free in `Md::fetch` and `Cipher::fetch`

RUSTSEC-2025-0022

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.