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 actix-web-lab

Dependencies

(33 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 actix-files^0.60.6.10up to date
 actix-http^3.103.11.2up to date
 actix-router^0.50.5.3up to date
 actix-service^22.0.3up to date
 actix-utils^33.0.1up to date
 actix-web^4.94.12.1up to date
 actix-web-lab-derive^0.240.24.0up to date
 ahash^0.80.8.12up to date
 arc-swap^1.11.8.1up to date
 bytes ⚠️^11.11.1maybe insecure
 bytestring^11.5.0up to date
 csv^1.11.4.0up to date
 derive_more^22.1.1up to date
 form_urlencoded^11.2.2up to date
 futures-core^0.3.170.3.31up to date
 futures-util^0.3.310.3.31up to date
 http^0.2.71.4.0out of date
 impl-more^0.1.90.3.1out of date
 itertools^0.140.14.0up to date
 local-channel^0.10.1.5up to date
 mime^0.30.3.17up to date
 pin-project-lite^0.2.160.2.16up to date
 regex^1.11.01.12.3up to date
 rmp-serde^11.3.1up to date
 serde^11.0.228up to date
 serde_cbor_2^0.12.0-dev0.13.0out of date
 serde_html_form^0.20.4.0out of date
 serde_json^11.0.149up to date
 serde_path_to_error^0.10.1.20up to date
 tokio^1.38.21.49.0up to date
 tokio-stream^0.1.170.1.18up to date
 tracing^0.1.410.1.44up to date
 url^2.12.5.8up to date

Dev dependencies

(21 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 actix-web^44.12.1up to date
 actix-web-lab-derive^0.240.24.0up to date
 async_zip^0.0.170.0.18out of date
 base64^0.220.22.1up to date
 digest^0.100.10.7up to date
 ed25519-dalek^22.2.0up to date
 env_logger^0.110.11.8up to date
 futures-util^0.3.310.3.31up to date
 generic-array^0.141.3.5out of date
 hex^0.40.4.3up to date
 hex-literal^0.41.1.0out of date
 hmac^0.120.12.1up to date
 rand^0.90.10.0out of date
 rustls ⚠️^0.230.23.36maybe insecure
 rustls-pemfile^22.2.0up to date
 serde^11.0.228up to date
 sha2^0.100.10.9up to date
 static_assertions^1.11.1.0up to date
 time^0.30.3.47up to date
 tokio^1.38.21.49.0up to date
 tokio-util^0.70.7.18up to date

Security Vulnerabilities

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.

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.