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 rcgen

Dependencies

(5 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 chrono ⚠️^0.4.60.4.38maybe insecure
 pem^0.63.0.4out of date
 ring^0.160.17.8out of date
 x509-parser^0.60.16.0out of date
 yasna^0.3.10.5.2out of date

Dev dependencies

(2 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 openssl ⚠️^0.100.10.64maybe insecure
 webpki ⚠️^0.210.22.4out of date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

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.