This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate hdfs-native

Dependencies

(20 total, 7 outdated, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 base64^0.210.22.1out of date
 bytes^11.10.1up to date
 crc^33.3.0up to date
 futures^0.30.3.31up to date
 g2p^11.2.2up to date
 gsasl-sys^0.20.2.4up to date
 libc^0.20.2.174up to date
 libgssapi^0.60.9.1out of date
 log^0.40.4.27up to date
 num-traits^0.20.2.19up to date
 prost^0.110.14.1out of date
 prost-types^0.110.14.1out of date
 roxmltree^0.180.20.0out of date
 socket2^0.50.5.10up to date
 thiserror^12.0.12out of date
 tokio ⚠️^11.45.1maybe insecure
 url^22.5.4up to date
 users ⚠️^0.110.11.0insecure
 uuid^11.17.0up to date
 which^48.0.0out of date

Dev dependencies

(5 total, 4 outdated)

CrateRequiredLatestStatus
 criterion^0.50.6.0out of date
 env_logger^0.100.11.8out of date
 serial_test^2.0.03.2.0out of date
 tempfile^33.20.0up to date
 which^48.0.0out of date

Security Vulnerabilities

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);

users: `root` appended to group listings

RUSTSEC-2025-0040

Affected versions append root to group listings, unless the correct listing has exactly 1024 groups.

This affects both:

  • The supplementary groups of a user
  • The group access list of the current process

If the caller uses this information for access control, this may lead to privilege escalation.

This crate is not currently maintained, so a patched version is not available.

Versions older than 0.8.0 do not contain the affected functions, so downgrading to them is a workaround.

Recommended alternatives

  • uzers (an actively maintained fork of the users crate)
  • sysinfo