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 async-graphql

Dependencies

(49 total, 8 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 async-graphql-derive^7.0.177.2.1up to date
 async-graphql-parser^7.0.177.2.1up to date
 async-graphql-value^7.0.177.2.1up to date
 async-stream^0.3.50.3.6up to date
 async-trait^0.1.790.1.89up to date
 base64^0.22.00.22.1up to date
 bigdecimal>=0.3.0, <0.5.00.4.10up to date
 blocking^1.6.11.6.2up to date
 bson^2.9.03.1.0out of date
 bytes ⚠️^1.6.01.11.1maybe insecure
 chrono^0.4.370.4.43up to date
 chrono-tz^0.10.00.10.4up to date
 fast_chemail^0.9.60.9.6up to date
 fnv^1.0.71.0.7up to date
 futures-channel^0.3.300.3.32up to date
 futures-timer^3.0.33.0.3up to date
 futures-util^0.3.300.3.32up to date
 handlebars^5.1.26.4.0out of date
 hashbrown^0.14.50.16.1out of date
 http^1.1.01.4.0up to date
 indexmap^22.13.0up to date
 iso8601^0.6.10.6.3up to date
 log^0.4.210.4.29up to date
 lru^0.12.30.16.3out of date
 mime^0.3.170.3.17up to date
 multer^3.0.03.1.0up to date
 num-traits^0.2.180.2.19up to date
 opentelemetry^0.27.00.31.0out of date
 pin-project-lite^0.2.140.2.16up to date
 regex^1.10.41.12.3up to date
 rust_decimal^1.35.01.40.0up to date
 schemars^0.8.211.2.1out of date
 secrecy^0.10.30.10.3up to date
 serde^1.0.1971.0.228up to date
 serde_cbor^0.11.20.11.2up to date
 serde_json^1.0.1151.0.149up to date
 serde_urlencoded^0.7.10.7.1up to date
 sha2^0.10.80.10.9up to date
 smol_str^0.3.10.3.5up to date
 static_assertions_next^1.1.21.1.2up to date
 tempfile^3.10.13.25.0up to date
 thiserror^1.0.582.0.18out of date
 time ⚠️^0.3.360.3.47maybe insecure
 tokio^1.37.01.49.0up to date
 tracing-futures^0.2.50.2.5up to date
 tracing^0.1.400.1.44up to date
 url^2.5.02.5.8up to date
 uuid^1.8.01.21.0up to date
 zxcvbn^2.2.23.1.0out of date

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 criterion^0.5.10.8.2out of date
 futures-channel^0.3.300.3.32up to date
 slab^0.4.90.4.12up to date
 tokio^1.37.01.49.0up to date

Security Vulnerabilities

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.