CVE-2025-45765
Description
A flaw was found in ruby-jwt. The library does not enforce minimum key sizes for encryption, allowing the use of weak keys that may be vulnerable to decryption. A malicious actor can leverage this lack of enforcement to compromise the confidentiality of data protected by the library. This can result in unauthorized access to sensitive information. DISPUTE
Statement
This CVE is disputed – The reported issue is not a vulnerability in the library itself. The library does not enforce key lengths for HMAC or RSA algorithms except where required by RSA/PS, and key size enforcement is handled by the underlying OpenSSL implementation in recent versions. Security concerns related to insufficient key lengths depend on how the library is used, not on a flaw in the library’s code.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.