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 swc_plugin_runner

Dependencies

(21 total, 11 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.811.0.102up to date
 enumset^1.1.21.1.13up to date
 futures^0.30.3.32up to date
 once_cell^1.19.01.21.4up to date
 parking_lot^0.12.10.12.5up to date
 rustc-hash^22.1.2up to date
 serde^1.0.1971.0.228up to date
 serde_json^1.0.1151.0.150up to date
 swc_atoms^5.0.09.0.3out of date
 swc_common^8.1.023.0.2out of date
 swc_css_ast^8.0.023.0.0out of date
 swc_ecma_ast^8.1.125.0.0out of date
 swc_plugin_proxy^8.0.026.0.0out of date
 swc_transform_common^2.0.017.0.0out of date
 tokio ⚠️^11.52.3maybe insecure
 tracing^0.1.400.1.44up to date
 virtual-fs^0.19.00.701.0out of date
 wasmer=5.0.5-rc17.1.0out of date
 wasmer-cache=5.0.5-rc17.1.0out of date
 wasmer-compiler-cranelift=5.0.5-rc17.1.0out of date
 wasmer-wasix^0.35.00.701.0out of date

Dev dependencies

(11 total, 9 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 codspeed-criterion-compat^2.6.04.7.0out of date
 criterion^0.5.10.8.2out of date
 swc_css_ast^8.0.023.0.0out of date
 swc_css_parser^8.0.023.0.0out of date
 swc_ecma_ast^8.1.125.0.0out of date
 swc_ecma_loader^8.0.024.0.1out of date
 swc_ecma_parser^11.0.141.1.1out of date
 swc_ecma_visit^8.0.025.0.0out of date
 swc_malloc^1.2.21.2.5up to date
 testing^9.0.024.0.1out of date
 tokio ⚠️^11.52.3maybe insecure

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