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-connect

Dependencies

(17 total, 12 outdated, 5 possibly insecure)

CrateRequiredLatestStatus
 actix-codec ⚠️^0.1.20.5.2out of date
 actix-rt^0.2.52.9.0out of date
 actix-service^0.4.02.0.2out of date
 actix-utils^0.4.03.0.1out of date
 derive_more^0.150.99.17out of date
 either^1.5.21.11.0up to date
 futures^0.1.250.3.30out of date
 http ⚠️^0.1.171.1.0out of date
 log^0.40.4.21up to date
 openssl ⚠️^0.100.10.64maybe insecure
 rustls ⚠️^0.15.20.23.5out of date
 tokio-current-thread^0.1.50.1.7up to date
 tokio-openssl^0.30.6.4out of date
 tokio-rustls^0.9.10.26.0out of date
 tokio-tcp^0.1.30.1.4up to date
 trust-dns-resolver^0.11.00.23.2out of date
 webpki ⚠️^0.190.22.4out of date

Dev dependencies

(3 total, 2 outdated)

CrateRequiredLatestStatus
 actix-server-config^0.1.00.2.0out of date
 actix-test-server^0.2.20.2.2up to date
 bytes^0.41.6.0out of date

Security Vulnerabilities

http: Integer Overflow in HeaderMap::reserve() can cause Denial of Service

RUSTSEC-2019-0033

HeaderMap::reserve() used usize::next_power_of_two() to calculate the increased capacity. However, next_power_of_two() silently overflows to 0 if given a sufficiently large number in release mode.

If the map was not empty when the overflow happens, the library will invoke self.grow(0) and start infinite probing. This allows an attacker who controls the argument to reserve() to cause a potential denial of service (DoS).

The flaw was corrected in 0.1.20 release of http crate.

http: HeaderMap::Drain API is unsound

RUSTSEC-2019-0034

actix-codec: Use-after-free in Framed due to lack of pinning

RUSTSEC-2020-0049

Affected versions of this crate did not require the buffer wrapped in Framed to be pinned, but treated it as if it had a fixed location in memory. This may result in a use-after-free.

The flaw was corrected by making the affected functions accept Pin<&mut Self> instead of &mut self.

openssl: `openssl` `X509VerifyParamRef::set_host` buffer over-read

RUSTSEC-2023-0044

When this function was passed an empty string, openssl would attempt to call strlen on it, reading arbitrary memory until it reached a NUL byte.

webpki: webpki: CPU denial of service in certificate path building

RUSTSEC-2023-0052

When this crate is given a pathological certificate chain to validate, it will spend CPU time exponential with the number of candidate certificates at each step of path building.

Both TLS clients and TLS servers that accept client certificate are affected.

This was previously reported in https://github.com/briansmith/webpki/issues/69 and re-reported recently by Luke Malinowski.

webpki 0.22.1 included a partial fix and webpki 0.22.2 added further fixes.

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.