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, 10 outdated, 4 possibly insecure)

CrateRequiredLatestStatus
 actix-codec ⚠️^0.1.20.5.2out of date
 actix-http ⚠️^0.2.113.9.0out of date
 actix-service^0.4.12.0.2out of date
 base64^0.10.10.22.1out of date
 bytes^0.41.8.0out of date
 derive_more^0.15.01.0.0out of date
 futures^0.1.250.3.31out of date
 log^0.40.4.22up to date
 mime^0.30.3.17up to date
 openssl ⚠️^0.100.10.68maybe insecure
 percent-encoding^2.12.3.1up to date
 rand^0.70.8.5out of date
 rustls ⚠️^0.15.20.23.16out of date
 serde^1.01.0.214up to date
 serde_json^1.01.0.132up to date
 serde_urlencoded^0.6.10.7.1out of date
 tokio-timer^0.2.80.2.13up to date

Dev dependencies

(13 total, 10 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 actix-http ⚠️^0.2.113.9.0out of date
 actix-http-test^0.2.03.2.0out of date
 actix-rt^0.2.22.10.0out of date
 actix-server^0.6.02.5.0out of date
 actix-utils^0.4.13.0.1out of date
 actix-web^1.0.84.9.0out of date
 brotli2^0.3.20.3.2up to date
 env_logger^0.60.11.5out of date
 flate2^1.0.21.0.34up to date
 rand^0.70.8.5out of date
 rustls ⚠️^0.15.20.23.16out of date
 tokio-tcp^0.10.1.4up to date
 webpki ⚠️^0.190.22.4out of date

Security Vulnerabilities

actix-http: Use-after-free in BodyStream due to lack of pinning

RUSTSEC-2020-0048

Affected versions of this crate did not require the buffer wrapped in BodyStream 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 trait MessageBody require Unpin and making poll_next() function accept Pin<&mut Self> instead of &mut self.

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.

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.

openssl: `MemBio::get_buf` has undefined behavior with empty buffers

RUSTSEC-2024-0357

Previously, MemBio::get_buf called slice::from_raw_parts with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.