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

(8 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 aws-lc-rs^1.6.01.13.0up to date
 pem^3.0.23.0.5up to date
 rustls-pki-types^1.4.11.11.0up to date
 ring ⚠️^0.170.17.14maybe insecure
 time^0.3.60.3.41up to date
 x509-parser^0.160.17.0out of date
 yasna^0.5.20.5.2up to date
 zeroize^1.21.8.1up to date

Dev dependencies

(8 total, 4 outdated, 1 insecure, 2 possibly insecure)

CrateRequiredLatestStatus
 botan^0.100.11.1out of date
 openssl ⚠️^0.100.10.72maybe insecure
 rustls-pki-types^11.11.0up to date
 rand^0.80.9.1out of date
 ring ⚠️^0.170.17.14maybe insecure
 rsa ⚠️^0.90.9.8insecure
 rustls-webpki^0.1020.103.1out of date
 x509-parser^0.160.17.0out of date

Security Vulnerabilities

rsa: Marvin Attack: potential key recovery through timing sidechannels

RUSTSEC-2023-0071

Impact

Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key.

Patches

No patch is yet available, however work is underway to migrate to a fully constant-time implementation.

Workarounds

The only currently available workaround is to avoid using the rsa crate in settings where attackers are able to observe timing information, e.g. local use on a non-compromised computer is fine.

References

This vulnerability was discovered as part of the "Marvin Attack", which revealed several implementations of RSA including OpenSSL had not properly mitigated timing sidechannel attacks.

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.

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.