RustCrypto rsa
cpe:2.3:a:rustcrypto:rsa:*:*:*:*:rust:*:*
- <= 0.9.9
A vulnerability exists in the `rsa` crate, an RSA implementation in Rust, prior to version 0.9.10. When constructing an RSA private key from its components, the process panics if one of the primes is equal to one, instead of returning an appropriate error. This issue has been fixed in version 0.9.10.
The vulnerability can lead to a panic, causing a denial of service by abruptly terminating the program.
To reproduce this vulnerability, create an RSA private key using the `RsaPrivateKey::from_components` method. Include a prime that is equal to one in the components. The key construction will panic instead of handling the error gracefully.
Users can upgrade to version 0.9.10 or later to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.