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.18up to date
 aws-sdk-secretsmanager^11.108.0up to date
 aws-smithy-runtime-api^11.12.3up to date
 aws-smithy-types^11.5.0up to date
 linked-hash-map^0.5.60.5.6up to date
 log^0.4.290.4.33up to date
 rustls ⚠️^0.230.23.41maybe insecure
 serde^11.0.228up to date
 serde_json^11.0.150up to date
 serde_with^33.21.0up to date
 thiserror^22.0.18up to date
 tokio ⚠️^11.52.3maybe insecure

Dev dependencies

(8 total, 3 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 aws-sdk-secretsmanager^11.108.0up to date
 aws-smithy-mocks^0.20.2.6up to date
 aws-smithy-runtime^11.11.3up to date
 criterion^0.7.00.8.2out of date
 http ⚠️^01.4.2out of date
 rand^0.9.20.10.1out of date
 tokio ⚠️^11.52.3maybe insecure
 tokio-test^0.4.40.4.5up 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.