{"id":"UBUNTU-CVE-2025-45765","details":"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.\"","modified":"2026-05-20T16:23:29.994089690Z","published":"2025-08-07T21:15:00Z","upstream":["CVE-2025-45765"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-45765"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-45765"},{"type":"REPORT","url":"https://gist.github.com/ZupeiNie/c621253068ce5b64911629534879e8f9"},{"type":"REPORT","url":"https://github.com/jwt/ruby-jwt/issues/668"}],"affected":[{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"1.0.0-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.6-1","binary_name":"ruby-jwt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-1","2.1.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"2.1.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.2-1","binary_name":"ruby-jwt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-2","2.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"2.7.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"2.7.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"2.7.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}