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 google-cloud-gax-internal

Dependencies

(30 total, 2 possibly insecure)

CrateRequiredLatestStatus
 bytes ⚠️^1.101.12.1maybe insecure
 futures^0.30.3.34up to date
 google-cloud-auth^1.16.01.16.0up to date
 google-cloud-gax^1.14.01.14.0up to date
 google-cloud-rpc^1.6.01.6.0up to date
 h2 ⚠️^0.4.140.4.19maybe insecure
 http^1.11.5.0up to date
 http-body^1.11.1.0up to date
 http-body-util^0.1.30.1.5up to date
 hyper^1.101.11.1up to date
 lazy_static^1.51.5.0up to date
 opentelemetry^0.320.32.0up to date
 opentelemetry-semantic-conventions^0.32.00.32.1up to date
 opentelemetry_sdk^0.320.32.1up to date
 percent-encoding^2.32.3.2up to date
 pin-project^1.1.131.1.13up to date
 prost^0.140.14.4up to date
 prost-types^0.140.14.4up to date
 reqwest^0.13.40.13.5up to date
 serde^1.0.2281.0.229up to date
 serde_json^1.0.1501.0.151up to date
 thiserror^2.0.122.0.20up to date
 tokio^1.52.31.53.1up to date
 tokio-stream^0.1.160.1.19up to date
 tonic^0.14.50.14.6up to date
 tonic-prost^0.14.50.14.6up to date
 tower^0.5.20.5.3up to date
 tracing^0.1.440.1.44up to date
 tracing-opentelemetry^0.330.33.0up to date
 google-cloud-wkt^1.7.01.7.0up to date

Dev dependencies

(16 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.1021.0.104up to date
 bytes ⚠️^1.101.12.1maybe insecure
 httptest^0.16.40.16.4up to date
 mockall^0.150.15.0up to date
 opentelemetry-appender-tracing^0.32.00.32.0up to date
 opentelemetry_sdk^0.320.32.1up to date
 pretty_assertions^1.4.11.4.1up to date
 rustls^0.23.380.23.44up to date
 scoped-env^2.12.1.0up to date
 serde_with^33.23.0up to date
 serial_test^34.0.1out of date
 test-case^3.33.3.1up to date
 tokio^1.52.31.53.1up to date
 tracing^0.1.440.1.44up to date
 tracing-opentelemetry^0.330.33.0up to date
 tracing-subscriber^0.3.230.3.23up 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.

h2: h2 unbounded empty DATA frames

RUSTSEC-2026-0258

The h2 crate, used internally by hyper, had a flaw that would accept and queue empty DATA frames without limit. If streams were not actively drained, this could lead to unbounded memory usage, or a panic if the length overflows.

Low severity.

Patched in v0.4.16.