CVE-2025-45765
ruby-jwt: Ruby-JWT Weak Encryption
Severity by source
No source gives a CVSS score.
Trivy's own label is CRITICAL. Rated critical by Ruby Advisory DB.
Description
ruby-jwt v3.0.0.beta1 was discovered to contain weak encryption. NOTE: the Supplier's perspective is "keysize is not something that is enforced by this library. Currently more recent versions of OpenSSL are enforcing some key sizes and those restrictions apply to the users of this gem also."
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::Ruby Advisory Database | ruby-jwt | >= 3.0.0.beta1 |
| debian 11 | ruby-jwt | no fix listed |
| debian 12 | ruby-jwt | no fix listed |
| debian 13 | ruby-jwt | no fix listed |
| debian 14 | ruby-jwt | no fix listed |
| echo | ruby-jwt | no fix listed |
| rapidfort debian 12 | ruby-jwt | no fix listed |
| rapidfort debian 13 | ruby-jwt | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2025-45765
- https://gist.github.com/ZupeiNie/c621253068ce5b64911629534879e8f9
- https://github.com/advisories/GHSA-6ch4-944p-wf7j
- https://github.com/jwt/ruby-jwt/issues/668
- https://nvd.nist.gov/vuln/detail/CVE-2025-45765
- https://www.cve.org/CVERecord?id=CVE-2025-45765