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 aws_secretsmanager_caching

Dependencies

(12 total, 2 possibly insecure)

CrateRequiredLatestStatus
 aws-config^11.8.11up to date
 aws-sdk-secretsmanager^11.95.0up to date
 aws-smithy-runtime-api^11.9.2up to date
 aws-smithy-types^11.3.4up to date
 linked-hash-map^0.5.60.5.6up to date
 log^0.4.200.4.28up to date
 rustls ⚠️^00.23.35maybe insecure
 serde^11.0.228up to date
 serde_json^11.0.145up to date
 serde_with^33.16.1up to date
 thiserror^22.0.17up to date
 tokio ⚠️^11.48.0maybe insecure

Dev dependencies

(6 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 aws-sdk-secretsmanager^11.95.0up to date
 aws-smithy-mocks-experimental^00.2.4up to date
 aws-smithy-runtime^11.9.4up to date
 http ⚠️^01.4.0out of date
 tokio ⚠️^11.48.0maybe insecure
 tokio-test^0.4.40.4.4up to date

Security Vulnerabilities

http: Integer Overflow in HeaderMap::reserve() can cause Denial of Service

RUSTSEC-2019-0033

HeaderMap::reserve() used usize::next_power_of_two() to calculate the increased capacity. However, next_power_of_two() silently overflows to 0 if given a sufficiently large number in release mode.

If the map was not empty when the overflow happens, the library will invoke self.grow(0) and start infinite probing. This allows an attacker who controls the argument to reserve() to cause a potential denial of service (DoS).

The flaw was corrected in 0.1.20 release of http crate.

http: HeaderMap::Drain API is unsound

RUSTSEC-2019-0034

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

rustls: rustls network-reachable panic in `Acceptor::accept`

RUSTSEC-2024-0399

A bug introduced in rustls 0.23.13 leads to a panic if the received TLS ClientHello is fragmented. Only servers that use rustls::server::Acceptor::accept() are affected.

Servers that use tokio-rustls's LazyConfigAcceptor API are affected.

Servers that use tokio-rustls's TlsAcceptor API are not affected.

Servers that use rustls-ffi's rustls_acceptor_accept API are affected.