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-sigv4

Dependencies

(19 total, 3 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 aws-credential-types^1.2.141.2.14up to date
 aws-smithy-eventstream^0.60.200.60.20up to date
 aws-smithy-http^0.63.60.63.6up to date
 aws-smithy-runtime-api^1.11.61.11.6up to date
 aws-smithy-types^1.4.61.4.6up to date
 bytes^1.11.11.11.1up to date
 crypto-bigint^0.5.40.6.1out of date
 form_urlencoded^1.2.11.2.2up to date
 hex^0.4.30.4.3up to date
 hmac^0.120.12.1up to date
 http^0.2.121.4.0out of date
 p256^0.110.13.2out of date
 percent-encoding^2.3.12.3.2up to date
 ring ⚠️^0.17.50.17.14maybe insecure
 sha2^0.100.10.9up to date
 subtle^2.5.02.6.1up to date
 time ⚠️^0.3.50.3.47maybe insecure
 tracing^0.1.440.1.44up to date
 zeroize^1.7.01.8.2up to date

Dev dependencies

(13 total, 2 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 aws-credential-types^1.2.141.2.14up to date
 aws-smithy-runtime-api^1.11.61.11.6up to date
 bytes^1.11.11.11.1up to date
 criterion^0.50.8.2out of date
 hex-literal^0.4.11.1.0out of date
 httparse^1.10.11.10.1up to date
 pretty_assertions^1.31.4.1up to date
 proptest^1.21.10.0up to date
 ring ⚠️^0.17.50.17.14maybe insecure
 serde^1.0.1801.0.228up to date
 serde_derive^1.0.1801.0.228up to date
 serde_json^1.0.1041.0.149up to date
 time ⚠️^0.3.50.3.47maybe insecure

Security Vulnerabilities

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.