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 aos_data_proxy

Dependencies

(58 total, 22 outdated, 4 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.811.0.102up to date
 async-channel^2.2.02.5.0up to date
 async-stream^0.3.50.3.6up to date
 async-trait^0.1.770.1.89up to date
 axum^0.7.40.8.9out of date
 aws-config^1.1.71.8.18up to date
 aws-sdk-s3^1.17.01.135.0up to date
 aws-smithy-http^0.60.60.63.6out of date
 base64^0.22.00.22.1up to date
 byteorder^1.5.01.5.0up to date
 bytes ⚠️^1.5.01.11.1maybe insecure
 chrono^0.4.340.4.45up to date
 dotenvy^0.15.70.15.7up to date
 futures^0.3.300.3.32up to date
 futures-channel^0.3.300.3.32up to date
 futures-core^0.3.300.3.32up to date
 futures-util^0.3.300.3.32up to date
 hex^0.4.30.4.3up to date
 hmac^0.12.10.13.0out of date
 http^0.2.121.4.2out of date
 hyper^0.14.281.10.1out of date
 md-5^0.10.60.11.0out of date
 rand^0.8.50.10.1out of date
 reqwest^0.11.250.13.4out of date
 s3s^0.9.00.13.0out of date
 serde^1.0.1971.0.228up to date
 sha2^0.10.80.11.0out of date
 tokio^1.36.01.52.3up to date
 tokio-stream^0.1.140.1.18up to date
 tower^0.4.130.5.3out of date
 tonic^0.11.00.14.6out of date
 tracing^0.1.400.1.44up to date
 tracing-subscriber ⚠️^0.3.180.3.23maybe insecure
 url^2.5.02.5.8up to date
 zstd^0.13.00.13.3up to date
 diesel-ulid^0.3.10.3.2up to date
 tokio-postgres^0.7.100.7.17up to date
 postgres-types^0.2.60.2.13up to date
 postgres_array^0.11.10.11.1up to date
 deadpool-postgres^0.12.10.14.1out of date
 postgres-from-row=0.5.20.5.2up to date
 dashmap^5.5.36.2.1out of date
 ahash^0.8.110.8.12up to date
 jsonwebtoken^9.2.010.4.0out of date
 prost-wkt-types^0.5.00.7.1out of date
 time ⚠️^0.3.340.3.47maybe insecure
 digest^0.10.70.11.3out of date
 reqsign^0.14.90.20.1out of date
 serde_json^1.0.1141.0.150up to date
 crossbeam-skiplist^0.1.30.1.3up to date
 lazy_static^1.4.01.5.0up to date
 toml^0.8.111.1.2+spec-1.1.0out of date
 cel-interpreter^0.6.00.10.0out of date
 cel-parser^0.6.00.10.1out of date
 nom^7.1.38.0.0out of date
 mime_guess^2.0.42.0.5up to date
 curve25519-dalek ⚠️^4.1.24.1.3maybe insecure
 ed25519-dalek^2.1.12.2.0up to date

Security Vulnerabilities

curve25519-dalek: Timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`

RUSTSEC-2024-0344

Timing variability of any kind is problematic when working with potentially secret values such as elliptic curve scalars, and such issues can potentially leak private keys and other secrets. Such a problem was recently discovered in curve25519-dalek.

The Scalar29::sub (32-bit) and Scalar52::sub (64-bit) functions contained usage of a mask value inside a loop where LLVM saw an opportunity to insert a branch instruction (jns on x86) to conditionally bypass this code section when the mask value is set to zero as can be seen in godbolt:

A similar problem was recently discovered in the Kyber reference implementation:

https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/hqbtIGFKIpU/m/cnE3pbueBgAJ

As discussed on that thread, one portable solution, which is also used in this PR, is to introduce a volatile read as an optimization barrier, which prevents the compiler from optimizing it away.

The fix can be validated in godbolt here:

The problem was discovered and the solution independently verified by Alexander Wagner [email protected] and Lea Themint [email protected] using their DATA tool:

https://github.com/Fraunhofer-AISEC/DATA

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.

bytes: Integer overflow in `BytesMut::reserve`

RUSTSEC-2026-0007

In the unique reclaim path of BytesMut::reserve, the condition

if v_capacity >= new_cap + offset

uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB.

This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.

PoC

use bytes::*;

fn main() {
    let mut a = BytesMut::from(&b"hello world"[..]);
    let mut b = a.split_off(5);

    // Ensure b becomes the unique owner of the backing storage
    drop(a);

    // Trigger overflow in new_cap + offset inside reserve
    b.reserve(usize::MAX - 6);

    // This call relies on the corrupted cap and may cause UB & HBO
    b.put_u8(b'h');
}

Workarounds

Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.

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.