aws-lc-rs is vulnerable to Inadequate Encryption Strength
59
Medium Risk
PublicEncryptingKey::from_der wrapped decoded RSA public keys with Self(...) and skipped Self::new(), so the existing minimum key-size enforcement (2048 bits, aligned with PrivateDecryptingKey::from_pkcs8) did not run on that path. That allowed undersized public keys (for example 1024-bit) to be loaded for encryption while the private-key entry points already rejected them. The fix routes from_der through Self::new() so undersized keys return KeyRejected consistently.
You are affected if you are using a version that falls within the vulnerable range.
aws-lc-rs is vulnerable to Inadequate Encryption Strength in versions 1.7.0 - 1.16.1.
Upgrade the aws-lc-rs library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant