This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate actix-web

Dependencies

(31 total, 8 outdated, 1 insecure)

CrateRequiredLatestStatus
 actix-codec^0.4.0-beta.10.5.4out of date
 actix-http^3.0.0-beta.43.22.1up to date
 actix-macros^0.2.00.2.5up to date
 actix-router^0.2.70.5.5out of date
 actix-rt^2.12.16.0up to date
 actix-server^2.0.0-beta.32.10.0up to date
 actix-service^2.0.0-beta.42.0.3up to date
 actix-tls^3.0.0-beta.43.6.1up to date
 actix-utils^3.0.0-beta.23.0.2up to date
 actix-web-codegen^0.5.0-beta.24.6.0out of date
 ahash^0.70.8.14out of date
 awc^3.0.0-beta.33.11.0up to date
 bytes^11.12.2up to date
 derive_more^0.99.52.1.1out of date
 either^1.5.31.19.0up to date
 encoding_rs^0.80.8.44up to date
 futures-core^0.3.70.3.34up to date
 futures-util^0.3.70.3.34up to date
 log^0.40.4.35up to date
 mime^0.30.3.18up to date
 pin-project^1.0.01.2.0up to date
 regex^1.41.13.2up to date
 serde^1.01.0.229up to date
 serde_json^1.01.0.154up to date
 serde_urlencoded^0.70.7.1up to date
 smallvec^1.61.16.6up to date
 socket2^0.3.160.6.5out of date
 time^0.2.230.3.55out of date
 openssl^0.10.90.10.82up to date
 rustls ⚠️^0.19.00.23.46insecure
 url^2.12.5.9up to date

Security Vulnerabilities

rustls: `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input

RUSTSEC-2024-0336

If a close_notify alert is received during a handshake, complete_io does not terminate.

Callers which do not call complete_io are not affected.

rustls-tokio and rustls-ffi do not call complete_io and are not affected.

rustls::Stream and rustls::StreamOwned types use complete_io and are affected.

rustls: Unauthenticated ServerHello can downgrade later connections to classical key exchange

RUSTSEC-2026-0349

The client recorded the server-selected key exchange group for each server name when processing the ServerHello, before the server was authenticated. This record is used to predict which key share to send in future ClientHellos to that server name.

A network attacker can answer one connection attempt with a ServerHello selecting X25519, and then close the connection. Later ClientHellos for that name carry only an X25519 key share, while supported_groups still lists X25519MLKEM768 first. If the genuine server accepts that share rather than sending a HelloRetryRequest for its preferred hybrid group, the handshake completes with classical-only key exchange and no error. This persists for as long as the entry stays in the client's session store.

The impact is loss of post-quantum confidentiality for affected connections ("harvest now, decrypt later"). There is no key compromise and no authentication bypass.

The following are not affected:

  • connections to servers which send a HelloRetryRequest for their preferred group,
  • clients with resumption disabled (as nothing is stored), and
  • other server names.

This behaviour is discussed in draft-ietf-tls-key-share-prediction, so the practical impact depends largely on server policy.