Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.
Open advisories
3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.
After the RSA private-key operation, decryption converted the result to bytes by skipping its leading zero bytes and copying the rest into a buffer of the modulus size. The number of bytes copied, and the offset they were copied to, depended on how many leading zero bytes the decrypted value had. That value is secret. This affects OAEP and PKCS#1 v1.5 decryption, with and without blinding. Blinding does not help, because the conversion happens after the result is unblinded. Signing and signature verification are not affected. Whether the decrypted value starts with zero bytes is the information that Manger's attack on OAEP and Bleichenbacher-style attacks on PKCS#1 v1.5, including the Marvin attack, are built on. The difference is measurable. With the Marvin toolkit at 200 million repetitions per class (RSA-2048, measured inside the decrypting process), 0.10.5 takes about 11 ns longer, on a 1.09 ms operation, to decrypt a ciphertext whose decrypted value starts with 208 zero bytes…
Recommended action: Upgrade to 0.10.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.
RSASSA-PSS signature verification can panic when the salt length is detected from the signature and the public key is too small for the hash function. This affects verification through `pss::VerifyingKey::new_with_auto_salt_len`, and through `RsaPublicKey::verify` with a `Pss` whose `salt_len` is `None`. Verification with a fixed salt length is not affected. PKCS#1 v1.5 signatures, encryption and decryption are not affected. The panic happens when the modulus is at most `8 * hLen + 9` bits, where `hLen` is the output size of the hash in bytes: 521 bits with SHA-512, 393 bits with SHA-384, 265 bits with SHA-256. The attacker needs to supply the public key and a signature whose encoded message ends in the byte `0xBC`. No private key is needed. An application that verifies PSS signatures with automatic salt length against public keys it does not control, and that does not enforce a minimum key size, can lose a worker, or the whole process when built with `panic = "abort"`. Fixed in…
Recommended action: Upgrade to 0.10.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.
`RsaPrivateKey` private-key construction, validation, and serialization can panic across three classes of inputs, as well as when re-encoding certain valid keys: - `RsaPrivateKey::from_components` and PKCS#1 or PKCS#8 private-key decoding (DER or PEM) can panic during validation when a supplied factor equals 1, because `RsaPrivateKey::validate()` let a factor of 1 reach a later check that panicked. - `RsaPrivateKey::from_primes` and `RsaPrivateKey::from_p_q` can panic during construction when a supplied factor is 0, 1, or even. - Prime recovery in `RsaPrivateKey::from_components` can panic when the private exponent is 0. - For a key, including a valid one, whose first prime occupies more limbs than the second, `crt_coefficient`, `to_pkcs1_der`, `to_pkcs8_der`, and `serde` serialization can panic. An application that imports untrusted private keys or factors, or re-encodes such keys, can lose a worker, or the whole process when built with `panic = "abort"`. Public-key parsing is not…
Recommended action: Upgrade to 0.10.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.