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 awc

Dependencies

(17 total, 9 outdated, 4 possibly insecure)

CrateRequiredLatestStatus
 actix-codec ⚠️^0.2.00.5.2out of date
 actix-http ⚠️^2.0.0-alpha.23.6.0out of date
 actix-rt^1.0.02.9.0out of date
 actix-service^1.0.12.0.2out of date
 base64^0.110.22.0out of date
 bytes^0.5.31.6.0out of date
 derive_more^0.99.20.99.17up to date
 futures-core^0.3.10.3.30up to date
 log^0.40.4.21up to date
 mime^0.30.3.17up to date
 openssl ⚠️^0.100.10.64maybe insecure
 percent-encoding^2.12.3.1up to date
 rand^0.70.8.5out of date
 rustls ⚠️^0.17.00.23.5out of date
 serde^1.01.0.198up to date
 serde_json^1.01.0.116up to date
 serde_urlencoded^0.6.10.7.1out of date

Dev dependencies

(12 total, 8 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 actix-connect^2.0.0-alpha.22.0.0up to date
 actix-http ⚠️^2.0.0-alpha.23.6.0out of date
 actix-http-test^1.0.03.2.0out of date
 actix-server^1.0.02.3.0out of date
 actix-tls^2.0.0-alpha.13.3.0out of date
 actix-utils^1.0.33.0.1out of date
 actix-web^2.0.04.5.1out of date
 brotli2^0.3.20.3.2up to date
 env_logger^0.70.11.3out of date
 flate2^1.0.131.0.28up to date
 futures^0.3.10.3.30up to date
 webpki ⚠️^0.210.22.4out of date

Security Vulnerabilities

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.

actix-http: Potential request smuggling capabilities due to lack of input validation

RUSTSEC-2021-0081

Affected versions of this crate did not properly detect invalid requests that could allow HTTP/1 request smuggling (HRS) attacks when running alongside a vulnerable front-end proxy server. This can result in leaked internal and/or user data, including credentials, when the front-end proxy is also vulnerable.

Popular front-end proxies and load balancers already mitigate HRS attacks so it is recommended that they are also kept up to date; check your specific set up. You should upgrade even if the front-end proxy receives exclusively HTTP/2 traffic and connects to the back-end using HTTP/1; several downgrade attacks are known that can also expose HRS vulnerabilities.

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.