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 kube

Dependencies

(14 total, 7 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 base64^0.9.30.22.1out of date
 dirs^1.0.46.0.0out of date
 either^1.5.21.15.0up to date
 failure^0.1.20.1.8up to date
 http ⚠️^0.1.171.3.1out of date
 k8s-openapi^0.4.00.25.0out of date
 log^0.4.60.4.27up to date
 openssl ⚠️^0.10.120.10.73maybe insecure
 reqwest^0.9.170.12.22out of date
 serde^1.0.901.0.219up to date
 serde_derive^1.0.901.0.219up to date
 serde_json^1.0.391.0.140up to date
 serde_yaml^0.8.80.9.34+deprecatedout of date
 url^1.7.22.5.4out of date

Dev dependencies

(3 total, 2 outdated)

CrateRequiredLatestStatus
 env_logger^0.6.10.11.8out of date
 k8s-openapi^0.4.00.25.0out of date
 tempfile^3.0.73.20.0up to 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

openssl: Use-After-Free in `Md::fetch` and `Cipher::fetch`

RUSTSEC-2025-0022

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.